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

+ Added INI setting http.force_exit which can be used to disable script termination
in case of redirects and positive cache hits (instead, standard output will be discarded)
+ Classes HttpMessage and HttpRequestPool implement Countable if PHP >= 5.1 with SPL is available
+ Class HttpMessage implements Serializable if PHP >= 5.1 is available
+ Added experimental http.chunked_encode and chunked_decode stream filter

* Fixed a bug that caused a warning about an invalid curl handle at HttpRequestPool destruction
* Fixed a bug with http_get_request_headers() modifying $_SERVER array
* Fixed a bug which required "=" in Content-Range response message headers
* Fixed a bug with directly setting HttpMessage property values