pecl_http 0.22.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.


License: BSD-2-Clause


+ Added HTTP 'protocol' version request option. (Ilia)
+ Added optional class_name param to HttpMessage::fromString()
+ Added HttpMessage::toMessageTypeObject(), HttpMessage::detach(), HttpMessage::prepend()
+ Added Iterator interface to HttpMessage
+ Added http_get_request_body_stream()
+ Added HttpQueryString class

- Don't pretend anylonger to understand 'compress' Content-Encoding
- Sending an User-Agent can now be prevented by setting 'useragent' to NULL or empty string. (Ilia)
- Changed http_redirect() to PHPs behaviour by default
- Changed configure to enable curl and zlib functionality by default
- Changed http_build_url() to accept a flag that defines what parts and how they are replaced/merged

* Decreased the per-request calls to curl_easy_setopt()
* Fixed gnutls ZTS build
* Fixed openssl ZTS issues with other libraries using openssl
* Fixed some issues with http_get_request_body()
* Fixed bug #6645 - doesn't compile with zlib 1.2.2 (undefined Z_FIXED)