Requests_Exception_HTTP_410 WordPress Class
The HTTP_410 class is a custom Exception class for the Requests library. It is used to signal that a particular HTTP status code is returned by a server. In this case, the status code is 410, which indicates that the requested resource is no longer available. This class is derived from the Requests_Exception class.
Requests_Exception_HTTP_410 #
Exception for 410 Gone responses
Source
File: wp-includes/Requests/Exception/HTTP/410.php
class Requests_Exception_HTTP_410 extends Requests_Exception_HTTP { /** * HTTP status code * * @var integer */ protected $code = 410; /** * Reason phrase * * @var string */ protected $reason = 'Gone'; }
Expand full source codeCollapse full source codeView on TracView on GitHub