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_405
in Requests 2.x.
Class Requests_Exception_HTTP_405
Exception for 405 Method Not Allowed responses
- Exception
- Requests_Exception
- Requests_Exception_HTTP
- Requests_Exception_HTTP_405
__construct(),
getReason(),
get_class()
|
getData(),
getType()
|
__toString(),
__wakeup(),
getCode(),
getFile(),
getLine(),
getMessage(),
getPrevious(),
getTrace(),
getTraceAsString()
|
protected
integer
|
$code
HTTP status code |
#
405
|
protected
string
|
$reason
Reason phrase |
#
'Method Not Allowed'
|
$data,
$type
|
$file,
$line,
$message
|