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_418
in Requests 2.x.
Class Requests_Exception_HTTP_418
Exception for 418 I'm A Teapot responses
- Exception
- Requests_Exception
- Requests_Exception_HTTP
- Requests_Exception_HTTP_418
Package: Requests
See: https://tools.ietf.org/html/rfc2324
Located at Requests/Exception/HTTP/418.php
See: https://tools.ietf.org/html/rfc2324
Located at Requests/Exception/HTTP/418.php
__construct(),
getReason(),
get_class()
|
getData(),
getType()
|
__toString(),
__wakeup(),
getCode(),
getFile(),
getLine(),
getMessage(),
getPrevious(),
getTrace(),
getTraceAsString()
|
protected
integer
|
$code
HTTP status code |
#
418
|
protected
string
|
$reason
Reason phrase |
#
"I'm A Teapot"
|
$data,
$type
|
$file,
$line,
$message
|