Requests_Exception_HTTP_401 WordPress Class
The HTTP_401 class is used to signal an HTTP 401 Unauthorized error. This exception is raised when a client tries to access a resource without providing the proper credentials.
Requests_Exception_HTTP_401 #
Exception for 401 Unauthorized responses
Source
File: wp-includes/Requests/Exception/HTTP/401.php
class Requests_Exception_HTTP_401 extends Requests_Exception_HTTP { /** * HTTP status code * * @var integer */ protected $code = 401; /** * Reason phrase * * @var string */ protected $reason = 'Unauthorized'; }
Expand full source codeCollapse full source codeView on TracView on GitHub