Requests_Exception_HTTP_501 WordPress Class
The Requests_Exception_HTTP_501 class is used to indicate that a server has encountered an error when trying to process a request. This can happen when the server is unable to understand the request due to a syntax error, or when the server is unable to fulfill the request because it does not have the necessary resources.
Requests_Exception_HTTP_501 #
Exception for 501 Not Implemented responses
Source
File: wp-includes/Requests/Exception/HTTP/501.php
class Requests_Exception_HTTP_501 extends Requests_Exception_HTTP {
/**
* HTTP status code
*
* @var integer
*/
protected $code = 501;
/**
* Reason phrase
*
* @var string
*/
protected $reason = 'Not Implemented';
}
Expand full source codeCollapse full source codeView on TracView on GitHub