pecl_http 0.23.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 'etag' request option.
+ Added 'encodecookies' request option (defaults to true).
+ Added missing accessors for response status text to HttpMessage and HttpRequest classes.
+ Added HttpMessage::reverse().
+ Added bool must_revalidate parameter to HttpResponse::setCacheControl()

- Reimplemented http_parse_cookie().
- Changed HttpRequest::getResponseCookie() to HttpRequest::getResponseCookies(),
compliant to http_parse_cookie().
- http_build_url() now tries to "resolve" public hostname prior falling back
to localhost if neither HTTP_HOST nor SERVER_NAME is set.
- Changed HttpRequest::getHistory() to return a real property.

* Fixed PHP-4.4 and PHP-5.0 build.