Warning! You are currently reading the documentation for Requests 1.x.
It is recommended to upgrade to Requests 2.x at your earliest convenience.
Upgrading to Requests 2.x is fairly straight-forward.
A full list of the changes can be found in the Changelog.
Visit the documentation for Requests_Exception_HTTP_412
in Requests 2.x.
Class Requests_Exception_HTTP_412
Exception for 412 Precondition Failed responses
- Exception
- Requests_Exception
- Requests_Exception_HTTP
- Requests_Exception_HTTP_412
__construct(),
getReason(),
get_class()
|
getData(),
getType()
|
__toString(),
__wakeup(),
getCode(),
getFile(),
getLine(),
getMessage(),
getPrevious(),
getTrace(),
getTraceAsString()
|
protected
integer
|
$code
HTTP status code |
#
412
|
protected
string
|
$reason
Reason phrase |
#
'Precondition Failed'
|
$data,
$type
|
$file,
$line,
$message
|