Requests_Exception_HTTP_505 WordPress Class
This class is a custom exception class for the WordPress Requests library. It extends the default WordPress HTTP_Exception class and provides custom error handling for HTTP status code 505 (HTTP Version Not Supported).
Requests_Exception_HTTP_505 #
Exception for 505 HTTP Version Not Supported responses
Source
File: wp-includes/Requests/Exception/HTTP/505.php
class Requests_Exception_HTTP_505 extends Requests_Exception_HTTP {
/**
* HTTP status code
*
* @var integer
*/
protected $code = 505;
/**
* Reason phrase
*
* @var string
*/
protected $reason = 'HTTP Version Not Supported';
}
Expand full source codeCollapse full source codeView on TracView on GitHub