pecl_http 1.7.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 generic http_negotiate() function (FR#17338)
* Added request options:
- proxytunnel: enable tunelling through the HTTP proxy
- noproxy: comma separatet list of hosts (* means all hosts) not to use a proxy for (libcurl >= 7.19.4)
* Added postredir request options constants:
- HTTP_POSTREDIR_301
- HTTP_POSTREDIR_302
- HTTP_POSTREDIR_ALL
* Added authtype request option constant:
- HTTP_AUTH_DIGEST_IE
* Added proxytype request option constants:
- HTTP_PROXY_HTTP_1_0
* Added request info members:
- condition_unmet (libcurl >= 7.19.4)
* Fixed bug #16893 (Content not decoded with zlib support and compress enabled)
* Fixed bug #17087 (http_build_cookie() exhausts memory if cookie value is NULL)
* Fixed bug #17169 (Wrong return value of HttpMessage::getHttpVersion())