update curl info
[m6w6/ext-http] / package.xml
index 0ea30ccf9175145de080e241731f43eb7a6b31a2..45467499bd9b5d57202007dbbcbe9811fd415d42 100644 (file)
  <channel>pecl.php.net</channel>
  <summary>Extended HTTP Support</summary>
  <description><![CDATA[
-Extended HTTP support. Again.
+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.
 ]]></description>
  <lead>
   <name>Michael Wallner</name>
@@ -19,9 +27,9 @@ Extended HTTP support. Again.
   <email>mike@php.net</email>
   <active>yes</active>
  </lead>
- <date>2012-01-23</date>
+ <date>2012-03-16</date>
  <version>
-  <release>2.0.0dev4</release>
+  <release>2.0.0dev</release>
   <api>2.0.0</api>
  </version>
  <stability>
@@ -30,17 +38,10 @@ Extended HTTP support. Again.
  </stability>
  <license>BSD, revised</license>
  <notes><![CDATA[
-This is to become v2 of the known pecl_http extension.
-It is completely incompatible to previous version.
-Try it, or let it be. If you are not sure, let it be. Really.
-
-List of changes (TBD):
-* Everything lives below the http namespace
-* The message body is implemented as a temp stream instead of a chunk of memory
-* The utterly misunderstood HttpResponse class has been reimplemented in the http\env namespace
-* There's only http\Exception
-* Every instance follows http\Object::$defaultErrorHandling or inherited http\Object->errorHandling, but only for errors generated by the extension itself
-* You have to use the http\Request\Factory to create your requests/pools/datashares
+- Renamed http\Env\Request::getPost() to ::getForm()
+- Changed http\Env\Response::setContentDisposition() to take an http\Params like array as argument
+- Removed http\Env\Response::CONTENT_DISPOSOTION_* constants
+- Removed http\Request\Method class; request methods are now used as simple strings
 ]]></notes>
  <contents>
   <dir name="/">
@@ -63,6 +64,8 @@ List of changes (TBD):
    <file role="src" name="php_http_encoding.h"/>
    <file role="src" name="php_http_env.c"/>
    <file role="src" name="php_http_env.h"/>
+   <file role="src" name="php_http_env_request.c"/>
+   <file role="src" name="php_http_env_request.h"/>
    <file role="src" name="php_http_env_response.c"/>
    <file role="src" name="php_http_env_response.h"/>
    <file role="src" name="php_http_etag.c"/>
@@ -104,8 +107,6 @@ List of changes (TBD):
    <file role="src" name="php_http_request_factory.c"/>
    <file role="src" name="php_http_request_factory.h"/>
    <file role="src" name="php_http_request.h"/>
-   <file role="src" name="php_http_request_method.c"/>
-   <file role="src" name="php_http_request_method.h"/>
    <file role="src" name="php_http_request_pool.c"/>
    <file role="src" name="php_http_request_pool.h"/>
    <file role="src" name="php_http_resource_factory.c"/>
@@ -117,6 +118,54 @@ List of changes (TBD):
    <file role="src" name="php_http_url.h"/>
    <file role="src" name="php_http_version.c"/>
    <file role="src" name="php_http_version.h"/>
+   <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_empty_chunked.txt"/>
+     <file role="test" name="message_rr_empty_gzip.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="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"/>
+   </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>
  </contents>
  <dependencies>