[ANNOUNCEMENT] pecl_http-2.0.0alpha1 (alpha) Released.
| From: | PECL Announce | Date: | Fri, 13 Apr 2012 12:10:36 +0000 |
| Subject: | [ANNOUNCEMENT] pecl_http-2.0.0alpha1 (alpha) Released. | ||
| Groups: | php.pecl.dev | ||
| Request: | Send a blank email to pecl-dev+get-9310@lists.php.net to get a copy of this message | ||
The new PECL package pecl_http-2.0.0alpha1 (alpha) has been released at http://pecl.php.net/.
Release notes
-------------
+ Added http\Client\AbstractClient::request(string method, string url[, array headers=null[, mixed
body=null[, array options=null]]])
+ Added constants http\Params::PARSE_RAW, ::PARSE_DEFAULT, ::PARSE_URLENCODED, ::PARSE_DIMENSION,
::PARSE_QUERY
+ Added fourth parameter 'flags' to http\Params' constructor, which defaults to
http\Params::PARSE_DEFAULT
* Fixed bug #61444 (query string converts . to _ in param names)
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.
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.0alpha1.tgz
Authors
-------------
Michael Wallner <mike@php.net> (lead)