Requests_Exception_HTTP_412 WordPress Class
The Requests_Exception_HTTP_412 class is used to indicate that a request has failed due to a HTTP error code 412. This error code is typically returned by a server when a requested resource is not available.
Requests_Exception_HTTP_412 #
Exception for 412 Precondition Failed responses
Source
File: wp-includes/Requests/Exception/HTTP/412.php
class Requests_Exception_HTTP_412 extends Requests_Exception_HTTP { /** * HTTP status code * * @var integer */ protected $code = 412; /** * Reason phrase * * @var string */ protected $reason = 'Precondition Failed'; }
Expand full source codeCollapse full source codeView on TracView on GitHub