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

! Encodings functionality requires libz version 1.2.0.4 or greater

+ Added HttpDeflateStream and HttpInflateStream classes
+ Added ob_deflatehandler and ob_inflatehandler
+ Added HttpRequest::getRawRequestMessage and ::getRawResponseMessage
+ Added 'resetcookies' request option (libcurl > 7.14.1)

- Changed all methods and properties with "URI" in their name to "URL"
- Changed HttpRequest properties to be private

* Fixed a lot of memory corruptions within HttpRequest

Special thanks for this release go to Ilia Alshanetsky.