[ANNOUNCEMENT] pecl_http-2.0.0dev6 (devel) Released.
| From: | PECL Announce | Date: | Thu, 01 Mar 2012 21:43:10 +0000 |
| Subject: | [ANNOUNCEMENT] pecl_http-2.0.0dev6 (devel) Released. | ||
| Groups: | php.pecl.dev | ||
| Request: | Send a blank email to pecl-dev+get-9207@lists.php.net to get a copy of this message | ||
The new PECL package pecl_http-2.0.0dev6 (devel) has been released at http://pecl.php.net/.
Release notes
-------------
+ Added stream parsing capability to http\Message
+ Added http\Env\Request methods: getQuery(), getPost(), getFiles()
* Changed http\Env\Response to only cache responses to GET or HEAD requests without authorization
* Fixed possible crash when http\Url was initialized with empty urls
Package Info
-------------
Extended HTTP support. Again. Keep in mind that it's got the major version 2, because it's
incompatible with pecl_http v1.
* Introduces the http namespace.
* Message bodies have been remodeled to use PHP temporary streams instead of in-memory buffers.
* The utterly misunderstood HttpResponse class has been reimplemented as http\Env\Response
inheriting http\Message.
* Currently, there's only one Exception class left, http\Exception.
* Errors triggered by the extension can be configured statically by
http\Object::$defaultErrorHandling or inherited http\Object->errorHandling.
* The request ecosystem has been modularized to support different libraries, though for the moment
only libcurl is supported;
Nevertheless, you have to use the http\Request\Factory to create your request/pool/datashare
objects.
Related Links
-------------
Package home: http://pecl.php.net/package/pecl_http
Changelog: http://pecl.php.net/package-changelog.php?package=pecl_http
Download: http://pecl.php.net/get/pecl_http-2.0.0dev6.tgz
Authors
-------------
Michael Wallner <mike@php.net> (lead)