pecl_http 0.15.0

Extended HTTP Support


This HTTP extension aims to provide a convenient and powerful
set of functionality for one of PHPs major applications.

It eases handling of HTTP urls, headers and messages, provides
means for negotiation of a client's preferred content type,
language and charset, as well as a convenient way to send any
arbitrary data with caching and resuming capabilities.

It provides powerful request functionality with support for
parallel requests.

Documentation:
https://mdref.m6w6.name/http

License: BSD-2-Clause

Changes

+ Updated documentation (a lot)
+ Added optional third parameter to HttpRequest::__construct() accepting an array with options
+ Added compression functions gzencode/gzdecode, deflate/inflate, compress/uncompress
+ Added http_support() for probing features that depend on external libraries

- Renamed http_absolute_uri() to http_build_uri() (complements with http_build_query())
- Changed the signature of the negotiator to fill the second parameter with the results array

* Fixed several ETag issues
* Fixed HttpRequestPools detach() and attach() methods when the iterator is active
* Fixed parsing messages with Content-Range headers
* Fixed parsing messages with another Transfer-Encoding header value than chunked