[ANNOUNCEMENT] HTTP_Request2-0.2.0 (alpha) Released.
| From: | PEAR Announce | Date: | Wed, 07 Jan 2009 19:31:30 +0000 |
| Subject: | [ANNOUNCEMENT] HTTP_Request2-0.2.0 (alpha) Released. | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-29568@lists.php.net to get a copy of this message | ||
The new PEAR package HTTP_Request2-0.2.0 (alpha) has been released at http://pear.php.net/.
Release notes
-------------
API changes:
* HTTP_Request2::getConfigValue() is deprecated and will be removed in next
release. Use HTTP_Request2::getConfig().
* Changed HTTP_Request2::setConfig() to accept a pair of parameter name and
parameter value in addition to array('parameter name' => 'value')
* Added HTTP_Request2::getConfig() method that can return a single
configuration parameter or the whole configuration array
Other additions and changes:
* Added a debug Observer that can log request progress to a file or an
instance of PEAR::Log (thanks to David Jean Louis, request #15424)
* Added a new 'timeout' parameter that limits total number of seconds
a request can take (see requests #5735 and #8964)
* Added various SSL protocol options: 'ssl_verify_peer', 'ssl_verify_host',
'ssl_cafile', 'ssl_capath', 'ssl_local_cert',
'ssl_passphrase'. Note that
'ssl_verify_host' option behaves differently in Socket and Curl Adapters:
http://bugs.php.net/bug.php?id=47030
Fixes:
* Fixed 'data error' when processing response encoded by 'deflate'
encoding (bug #15305)
* Curl Adapter now passes full request headers in 'sentHeaders' event
Package Info
------------
PHP5 rewrite of HTTP_Request package. Provides cleaner API and pluggable
Adapters. Currently available are:
* Socket adapter, based on old HTTP_Request code,
* Curl adapter, wraps around PHP's cURL extension,
* Mock adapter, to use for testing packages dependent on HTTP_Request2.
Supports POST requests with data and file uploads, authentication, cookies,
proxies, gzip and deflate encodings, monitoring the request progress with
Observers...
Related Links
-------------
Package home: http://pear.php.net/package/HTTP_Request2
Changelog: http://pear.php.net/package/HTTP_Request2/download/0.2.0
Download: http://download.pear.php.net/package/HTTP_Request2-0.2.0.tgz
Authors
-------
Alexey Borzov (lead)