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
in Requests 2.x.
Package Requests
Requests\Authentication |
Requests\Cookies |
Requests\Proxy |
Requests\Session |
Requests\Transport |
Requests\Utilities |
Requests | Requests for PHP |
Requests_Response | HTTP response class |
Requests_Response_Headers | Case-insensitive dictionary, suitable for HTTP headers |
Requests_Exception | Exception for HTTP requests |
Requests_Exception_HTTP | Exception based on HTTP response |
Requests_Exception_HTTP_304 | Exception for 304 Not Modified responses |
Requests_Exception_HTTP_305 | Exception for 305 Use Proxy responses |
Requests_Exception_HTTP_306 | Exception for 306 Switch Proxy responses |
Requests_Exception_HTTP_400 | Exception for 400 Bad Request responses |
Requests_Exception_HTTP_401 | Exception for 401 Unauthorized responses |
Requests_Exception_HTTP_402 | Exception for 402 Payment Required responses |
Requests_Exception_HTTP_403 | Exception for 403 Forbidden responses |
Requests_Exception_HTTP_404 | Exception for 404 Not Found responses |
Requests_Exception_HTTP_405 | Exception for 405 Method Not Allowed responses |
Requests_Exception_HTTP_406 | Exception for 406 Not Acceptable responses |
Requests_Exception_HTTP_407 | Exception for 407 Proxy Authentication Required responses |
Requests_Exception_HTTP_408 | Exception for 408 Request Timeout responses |
Requests_Exception_HTTP_409 | Exception for 409 Conflict responses |
Requests_Exception_HTTP_410 | Exception for 410 Gone responses |
Requests_Exception_HTTP_411 | Exception for 411 Length Required responses |
Requests_Exception_HTTP_412 | Exception for 412 Precondition Failed responses |
Requests_Exception_HTTP_413 | Exception for 413 Request Entity Too Large responses |
Requests_Exception_HTTP_414 | Exception for 414 Request-URI Too Large responses |
Requests_Exception_HTTP_415 | Exception for 415 Unsupported Media Type responses |
Requests_Exception_HTTP_416 | Exception for 416 Requested Range Not Satisfiable responses |
Requests_Exception_HTTP_417 | Exception for 417 Expectation Failed responses |
Requests_Exception_HTTP_418 | Exception for 418 I'm A Teapot responses |
Requests_Exception_HTTP_428 | Exception for 428 Precondition Required responses |
Requests_Exception_HTTP_429 | Exception for 429 Too Many Requests responses |
Requests_Exception_HTTP_431 | Exception for 431 Request Header Fields Too Large responses |
Requests_Exception_HTTP_500 | Exception for 500 Internal Server Error responses |
Requests_Exception_HTTP_501 | Exception for 501 Not Implemented responses |
Requests_Exception_HTTP_502 | Exception for 502 Bad Gateway responses |
Requests_Exception_HTTP_503 | Exception for 503 Service Unavailable responses |
Requests_Exception_HTTP_504 | Exception for 504 Gateway Timeout responses |
Requests_Exception_HTTP_505 | Exception for 505 HTTP Version Not Supported responses |
Requests_Exception_HTTP_511 | Exception for 511 Network Authentication Required responses |
Requests_Exception_HTTP_Unknown | Exception for unknown status responses |
Requests_Exception_Transport | Exception for HTTP requests |
Requests_Exception_Transport_cURL | Exception for HTTP requests |