Overview

Packages

  • Requests
    • Authentication
    • Cookies
    • Proxy
    • Session
    • Transport
    • Utilities

Classes

  • Requests
  • Requests_Response
  • Requests_Response_Headers

Exceptions

  • Requests_Exception
  • Requests_Exception_HTTP
  • Requests_Exception_HTTP_304
  • Requests_Exception_HTTP_305
  • Requests_Exception_HTTP_306
  • Requests_Exception_HTTP_400
  • Requests_Exception_HTTP_401
  • Requests_Exception_HTTP_402
  • Requests_Exception_HTTP_403
  • Requests_Exception_HTTP_404
  • Requests_Exception_HTTP_405
  • Requests_Exception_HTTP_406
  • Requests_Exception_HTTP_407
  • Requests_Exception_HTTP_408
  • Requests_Exception_HTTP_409
  • Requests_Exception_HTTP_410
  • Requests_Exception_HTTP_411
  • Requests_Exception_HTTP_412
  • Requests_Exception_HTTP_413
  • Requests_Exception_HTTP_414
  • Requests_Exception_HTTP_415
  • Requests_Exception_HTTP_416
  • Requests_Exception_HTTP_417
  • Requests_Exception_HTTP_418
  • Requests_Exception_HTTP_428
  • Requests_Exception_HTTP_429
  • Requests_Exception_HTTP_431
  • Requests_Exception_HTTP_500
  • Requests_Exception_HTTP_501
  • Requests_Exception_HTTP_502
  • Requests_Exception_HTTP_503
  • Requests_Exception_HTTP_504
  • Requests_Exception_HTTP_505
  • Requests_Exception_HTTP_511
  • Requests_Exception_HTTP_Unknown
  • Requests_Exception_Transport
  • Requests_Exception_Transport_cURL
  • Overview
  • Package
  • Class
  • Tree
  • Deprecated

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

Packages summary
Requests\Authentication
Requests\Cookies
Requests\Proxy
Requests\Session
Requests\Transport
Requests\Utilities
Classes summary
Requests Requests for PHP
Requests_Response HTTP response class
Requests_Response_Headers Case-insensitive dictionary, suitable for HTTP headers
Exceptions summary
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
Requests 1.8.1 API Documentation API documentation generated by ApiGen