Be notified of new releases
Create your free GitHub account today to subscribe to this repository for new releases and build software alongside 50 million developers.Sign up
Add support for HHVM and PHP 7
Requests is now tested against both HHVM and PHP 7, and they are supported as
Transfer & connect timeouts, in seconds & milliseconds
cURL is unable to handle timeouts under a second in DNS lookups, so we round
those up to ensure 1-999ms isn't counted as an instant failure.
Rework cookie handling to be more thorough.
Cookies are now restricted to the same-origin by default, expiration is checked.
Tests are now run locally to speed them up, as well as further general
improvements to the quality of the testing suite. There are now also
comprehensive proxy tests to ensure coverage there.
Support custom HTTP methods
Previously, custom HTTP methods were only supported on sockets; they are now
supported across all transports.
Add byte limit option
Support a Requests_Proxy_HTTP() instance for the proxy setting.
Add progress hook
Add a before_redirect hook to alter redirects
Pass cURL info to after_request
- Add multiple request support - Send multiple HTTP requests with both
fsockopen and cURL, transparently falling back to synchronous when
- Add proxy support - HTTP proxies are now natively supported via a
high-level API. Major props to Ozh for his fantastic work
- Verify host name for SSL requests - Requests is now the first and only
standalone HTTP library to fully verify SSL hostnames even with socket
connections. Thanks to Michael Adams, Dion Hulse, Jon Cave, and Pádraic Brady
for reviewing the crucial code behind this.
- Add cookie support - Adds built-in support for cookies (built entirely
as a high-level API)
- Add sessions - To compliment cookies, sessions
can be created with a base URL and default options, plus a shared cookie jar.
- Add PUT, DELETE, and PATCH request support
- Add Composer support - You can now install Requests via the
rmccue/requestspackage on Composer