Requests_Exception_HTTP_405 WordPress Class
The Requests_Exception_HTTP_405 class is used to indicate that a client has made a request using an HTTP method that is not supported by the requested resource.
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';
}
Expand full source codeCollapse full source codeView on TracView on GitHub