Fedora 16 Update: php-pear-HTTP-Request2-2.0.0-1.fc16

updates at fedoraproject.org updates at fedoraproject.org
Sat Nov 5 01:34:03 UTC 2011


---------------------------------------------------------------------------=
-----
Fedora Update Notification
FEDORA-2011-14790
2011-10-24 03:57:50
---------------------------------------------------------------------------=
-----

Name        : php-pear-HTTP-Request2
Product     : Fedora 16
Version     : 2.0.0
Release     : 1.fc16
URL         : http://pear.php.net/package/HTTP_Request2
Summary     : Provides an easy way to perform HTTP requests
Description :
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, basic and digest
authentication, cookies, proxies, gzip and deflate encodings, monitoring
the request progress with Observers...

---------------------------------------------------------------------------=
-----
Update Information:

Upstream Changelog:

Additions and changes:
* Added getEffectiveUrl() method to Response object, it returns the URL
response was received from, possibly after redirects (request #18412)
* Implemented cookie jar that allows to store and pass cookies across HTTP
requests (see request #18225)
* Added several specialized subclasses of HTTP_Request2_Exception, they are
now thrown instead of the parent. Also added error codes and possibility
to get native error code (as returned by stream_socket_client() and
curl_errno()) (request #16762)
* An additional 'sentBody' event is now sent to Observers (request #16828)
* setBody() and addUpload() can now accept file pointers (request #16863)
* Added an accessor method for HTTP_Request2_Response::$phrases (request #1=
8716)

Bugfixes:
* Incorrect check in Socket Adapter prevented Keep-alive from working in
some cases (bug #17031)
* Curl Adapter didn't send body for PUT requests sometimes (bug #18421)
* SSL options for Curl Adapter are always set, this prevents errors when
redirecting from HTTP to HTTPS (bug #18443)
* HTTP_Request2::send() throws an exception if URL is not provided
rather than dies with a fatal error (bug #18755)
---------------------------------------------------------------------------=
-----

This update can be installed with the "yum" update program.  Use =

su -c 'yum update php-pear-HTTP-Request2' at the command line.
For more information, refer to "Managing Software with yum",
available at http://docs.fedoraproject.org/yum/.

All packages are signed with the Fedora Project GPG key.  More details on t=
he
GPG keys used by the Fedora Project can be found at
https://fedoraproject.org/keys
---------------------------------------------------------------------------=
-----


More information about the package-announce mailing list