v1.6.0
版本发布时间: 2013-10-06 21:31:50
WordPress/Requests最新发布版本:v2.0.12(2024-07-08 16:51:54)
- Add multiple request support - Send multiple HTTP requests with both fsockopen and cURL, transparently falling back to synchronous when not supported.
- Add proxy support - HTTP proxies are now natively supported via a high-level API. Major props to Ozh for his fantastic work on this.
- 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/requests
package on Composer