Requests_Exception_HTTP_405

Exception for 405 Method Not Allowed responses


Source

File: wp-includes/Requests/Exception/HTTP/405.php

class Requests_Exception_HTTP_405 extends Requests_Exception_HTTP {
	/**
	 * HTTP status code
	 *
	 * @var integer
	 */
	protected $code = 405;

	/**
	 * Reason phrase
	 *
	 * @var string
	 */
	protected $reason = 'Method Not Allowed';
}


Top ↑

User Contributed Notes

You must log in before being able to contribute a note or feedback.