pecl_http 0.14.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 missing support for raw post data in HttpRequest
+ Added missing HttpMessage::setBody()
+ Added HttpRequest::METH_* constants
+ Added HttpRequest::AUTH_* constants
+ Added HttpMessage::TYPE_* constants
+ Added HttpResponse::ETAG_* constants
+ Added HTTP_ETAG_MHASH_* constants
+ Added supported ETag hash algrithms to php_info() output
+ Added ETag hashing through PHPs CRC32() implementation
+ Added new language/charset negotiator

* Changed HttpMessage::toString([include_parent = true]) to false
* Renamed HTTP_GET etc. constants to HTTP_METH_GET
* Fixed protected property access