<channel>pecl.php.net</channel>
<summary>Extended HTTP Support</summary>
<description><![CDATA[
-Extended HTTP support. Again. Keep in mind that it's got the major version 2, because it's incompatible with pecl_http v1.
+This HTTP extension aims to provide a convenient and powerful
+set of functionality for one of PHPs major applications.
-* 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.
+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, if built with CURL
+support. Parallel requests are available for PHP 5 and greater.
]]></description>
<lead>
<name>Michael Wallner</name>
<email>mike@php.net</email>
<active>yes</active>
</lead>
- <date>2012-03-30</date>
+ <date>2013-08-12</date>
<version>
- <release>2.0.0dev10</release>
+ <release>2.0.0beta5</release>
<api>2.0.0</api>
</version>
<stability>
- <release>devel</release>
- <api>devel</api>
+ <release>beta</release>
+ <api>beta</api>
</stability>
<license>BSD, revised</license>
<notes><![CDATA[
-+ This release contains the http\Request to http\Client refactoring triggered by Benjamin Eberlei. Many thanks.
+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.
]]></notes>
<contents>
<dir name="/">
<file role="src" name="php_http_buffer.h"/>
<file role="src" name="php_http.c"/>
<file role="src" name="php_http_client.c"/>
- <file role="src" name="php_http_client_datashare.c"/>
- <file role="src" name="php_http_client_datashare.h"/>
- <file role="src" name="php_http_client_factory.c"/>
- <file role="src" name="php_http_client_factory.h"/>
<file role="src" name="php_http_client.h"/>
- <file role="src" name="php_http_client_interface.c"/>
- <file role="src" name="php_http_client_interface.h"/>
- <file role="src" name="php_http_client_pool.c"/>
- <file role="src" name="php_http_client_pool.h"/>
+ <file role="src" name="php_http_client_curl.c"/>
+ <file role="src" name="php_http_client_curl.h"/>
<file role="src" name="php_http_client_request.c"/>
<file role="src" name="php_http_client_request.h"/>
<file role="src" name="php_http_client_response.c"/>
<file role="src" name="php_http_cookie.c"/>
<file role="src" name="php_http_cookie.h"/>
<file role="src" name="php_http_curl.c"/>
- <file role="src" name="php_http_curl_client.c"/>
- <file role="src" name="php_http_curl_client_datashare.c"/>
- <file role="src" name="php_http_curl_client_datashare.h"/>
- <file role="src" name="php_http_curl_client.h"/>
- <file role="src" name="php_http_curl_client_pool.c"/>
- <file role="src" name="php_http_curl_client_pool.h"/>
<file role="src" name="php_http_curl.h"/>
<file role="src" name="php_http_encoding.c"/>
<file role="src" name="php_http_encoding.h"/>
<file role="src" name="php_http_negotiate.h"/>
<file role="src" name="php_http_object.c"/>
<file role="src" name="php_http_object.h"/>
+ <file role="src" name="php_http_options.c"/>
+ <file role="src" name="php_http_options.h"/>
<file role="src" name="php_http_params.c"/>
<file role="src" name="php_http_params.h"/>
- <file role="src" name="php_http_persistent_handle.c"/>
- <file role="src" name="php_http_persistent_handle.h"/>
- <file role="src" name="php_http_property_proxy.c"/>
- <file role="src" name="php_http_property_proxy.h"/>
<file role="src" name="php_http_querystring.c"/>
<file role="src" name="php_http_querystring.h"/>
- <file role="src" name="php_http_resource_factory.c"/>
- <file role="src" name="php_http_resource_factory.h"/>
<file role="src" name="php_http_strlist.c"/>
<file role="src" name="php_http_strlist.h"/>
<file role="src" name="php_http_url.c"/>
<dir name="tests">
<file role="test" name="skipif.inc"/>
- <dir name="HttpRequestPool_cache" />
<dir name="data">
<file role="test" name="message_r_multipart_put.txt"/>
<file role="test" name="message_rr_empty.txt"/>
<file role="test" name="message_rr_helloworld_chunked.txt"/>
<file role="test" name="urls.txt"/>
</dir>
- <file role="test" name="envrequestbody001.phpt"/>
- <file role="test" name="envrequestbody002.phpt"/>
- <file role="test" name="envrequestbody003.phpt"/>
- <file role="test" name="envrequestheader001.phpt"/>
- <file role="test" name="envresponseheader001.phpt"/>
- <file role="test" name="envresponseranges001.phpt"/>
- <file role="test" name="etag001.phpt"/>
- <file role="test" name="factory.phpt"/>
- <file role="test" name="filterchunked.phpt"/>
- <file role="test" name="filterzlib.phpt"/>
- <file role="test" name="info_001.phpt"/>
- <file role="test" name="message001.phpt"/>
- <file role="test" name="message002.phpt"/>
- <file role="test" name="message003.phpt"/>
- <file role="test" name="message004.phpt"/>
- <file role="test" name="message005.phpt"/>
- <file role="test" name="negotiate001.phpt"/>
- <file role="test" name="params001.phpt"/>
- <file role="test" name="persistenthandles001.phpt"/>
- <file role="test" name="phpunit.phpt"/>
- <file role="test" name="propertyproxy001.phpt"/>
- <file role="test" name="querystring_001.phpt"/>
- <file role="test" name="requestpool001.phpt"/>
- <file role="test" name="response001.phpt"/>
- <file role="test" name="response002.phpt"/>
- <file role="test" name="response003.phpt"/>
- <file role="test" name="url001.phpt"/>
+ <file role="test" name="bug61444.phpt"/>
+ <file role="test" name="client001.phpt"/>
+ <file role="test" name="client002.phpt"/>
+ <file role="test" name="client003.phpt"/>
+ <file role="test" name="client004.phpt"/>
+ <file role="test" name="client005.phpt"/>
+ <file role="test" name="client006.phpt"/>
+ <file role="test" name="client007.phpt"/>
+ <file role="test" name="client008.phpt"/>
+ <file role="test" name="client009.phpt"/>
+ <file role="test" name="client010.phpt"/>
+ <file role="test" name="client011.phpt"/>
+ <file role="test" name="client012.phpt"/>
+ <file role="test" name="client013.phpt"/>
+ <file role="test" name="clientrequest001.phpt"/>
+ <file role="test" name="clientrequest002.phpt"/>
+ <file role="test" name="clientrequest003.phpt"/>
+ <file role="test" name="clientrequest004.phpt"/>
+ <file role="test" name="clientresponse001.phpt"/>
+ <file role="test" name="clientresponse002.phpt"/>
+ <file role="test" name="clientresponse003.phpt"/>
+ <file role="test" name="envrequestbody001.phpt"/>
+ <file role="test" name="envrequestbody002.phpt"/>
+ <file role="test" name="envrequestbody003.phpt"/>
+ <file role="test" name="envrequestfiles001.phpt"/>
+ <file role="test" name="envrequestfiles002.phpt"/>
+ <file role="test" name="envrequestform.phpt"/>
+ <file role="test" name="envrequestheader001.phpt"/>
+ <file role="test" name="envrequestjson001.phpt"/>
+ <file role="test" name="envrequestjson002.phpt"/>
+ <file role="test" name="envrequestquery.phpt"/>
+ <file role="test" name="envresponse001.phpt"/>
+ <file role="test" name="envresponse002.phpt"/>
+ <file role="test" name="envresponse003.phpt"/>
+ <file role="test" name="envresponse004.phpt"/>
+ <file role="test" name="envresponse005.phpt"/>
+ <file role="test" name="envresponse006.phpt"/>
+ <file role="test" name="envresponse007.phpt"/>
+ <file role="test" name="envresponse008.phpt"/>
+ <file role="test" name="envresponse009.phpt"/>
+ <file role="test" name="envresponse010.phpt"/>
+ <file role="test" name="envresponse011.phpt"/>
+ <file role="test" name="envresponse012.phpt"/>
+ <file role="test" name="envresponse013.phpt"/>
+ <file role="test" name="envresponse014.phpt"/>
+ <file role="test" name="envresponsebody001.phpt"/>
+ <file role="test" name="envresponsebody002.phpt"/>
+ <file role="test" name="envresponsecodes.phpt"/>
+ <file role="test" name="envresponseheader001.phpt"/>
+ <file role="test" name="envresponseranges001.phpt"/>
+ <file role="test" name="etag001.phpt"/>
+ <file role="test" name="filterchunked.phpt"/>
+ <file role="test" name="filterzlib.phpt"/>
+ <file role="test" name="header001.phpt"/>
+ <file role="test" name="header002.phpt"/>
+ <file role="test" name="header003.phpt"/>
+ <file role="test" name="header004.phpt"/>
+ <file role="test" name="header005.phpt"/>
+ <file role="test" name="header006.phpt"/>
+ <file role="test" name="header007.phpt"/>
+ <file role="test" name="header008.phpt"/>
+ <file role="test" name="header009.phpt"/>
+ <file role="test" name="info_001.phpt"/>
+ <file role="test" name="info.phpt"/>
+ <file role="test" name="message001.phpt"/>
+ <file role="test" name="message002.phpt"/>
+ <file role="test" name="message003.phpt"/>
+ <file role="test" name="message004.phpt"/>
+ <file role="test" name="message005.phpt"/>
+ <file role="test" name="message006.phpt"/>
+ <file role="test" name="message007.phpt"/>
+ <file role="test" name="message008.phpt"/>
+ <file role="test" name="message009.phpt"/>
+ <file role="test" name="message010.phpt"/>
+ <file role="test" name="message011.phpt"/>
+ <file role="test" name="message012.phpt"/>
+ <file role="test" name="message013.phpt"/>
+ <file role="test" name="message014.phpt"/>
+ <file role="test" name="message015.phpt"/>
+ <file role="test" name="negotiate001.phpt"/>
+ <file role="test" name="object001.phpt"/>
+ <file role="test" name="object002.phpt"/>
+ <file role="test" name="object003.phpt"/>
+ <file role="test" name="object004.phpt"/>
+ <file role="test" name="object005.phpt"/>
+ <file role="test" name="object006.phpt"/>
+ <file role="test" name="object007.phpt"/>
+ <file role="test" name="object008.phpt"/>
+ <file role="test" name="object009.phpt"/>
+ <file role="test" name="params001.phpt"/>
+ <file role="test" name="params002.phpt"/>
+ <file role="test" name="phpunit.phpt"/>
+ <file role="test" name="propertyproxy001.phpt"/>
+ <file role="test" name="querystring_001.phpt"/>
+ <file role="test" name="serialize001.phpt"/>
+ <file role="test" name="url001.phpt"/>
+ <file role="test" name="version001.phpt"/>
</dir>
<dir name="phpunit">
<file role="test" name="CookieTest.php"/>
<file role="test" name="EncodingTest.php"/>
- <file role="test" name="HeaderTest.php"/>
<file role="test" name="MessageBodyTest.php"/>
- <file role="test" name="ObjectTest.php"/>
<file role="test" name="ParamsTest.php"/>
<file role="test" name="QueryStringTest.php"/>
- <file role="test" name="RequestTest.php"/>
<file role="test" name="UrlTest.php"/>
</dir>
</dir>
<dependencies>
<required>
<php>
- <min>5.3.99</min>
+ <min>5.3.0</min>
</php>
<pearinstaller>
<min>1.4.1</min>
</pearinstaller>
+ <package>
+ <name>raphf</name>
+ <channel>pecl.php.net</channel>
+ <min>0.1.0</min>
+ <providesextension>raphf</providesextension>
+ </package>
+ <package>
+ <name>propro</name>
+ <channel>pecl.php.net</channel>
+ <min>0.1.0</min>
+ <providesextension>propro</providesextension>
+ </package>
</required>
<optional>
- <extension><name>session</name></extension>
<extension><name>hash</name></extension>
<extension><name>iconv</name></extension>
</optional>