code cleanup
[m6w6/ext-http] / package.xml
index 3f34a5998c87d70c8a67a19e3936de4cdbabc2b4..e8c672e121cd66325fba978c787e400f81eb91fc 100644 (file)
@@ -18,8 +18,7 @@ Extended HTTP support. Again. Keep in mind that it's got the major version 2, be
 * 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.
+* The request ecosystem has been modularized to support different libraries, though for the moment only libcurl is supported.
 ]]></description>
  <lead>
   <name>Michael Wallner</name>
@@ -27,9 +26,9 @@ Extended HTTP support. Again. Keep in mind that it's got the major version 2, be
   <email>mike@php.net</email>
   <active>yes</active>
  </lead>
- <date>2012-03-16</date>
+ <date>2012-03-30</date>
  <version>
-  <release>2.0.0dev</release>
+  <release>2.0.0dev10</release>
   <api>2.0.0</api>
  </version>
  <stability>
@@ -38,10 +37,7 @@ Extended HTTP support. Again. Keep in mind that it's got the major version 2, be
  </stability>
  <license>BSD, revised</license>
  <notes><![CDATA[
-- 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\Env\Request\Method class; request methods are now used as simple strings
++ This release contains the http\Request to http\Client refactoring triggered by Benjamin Eberlei. Many thanks.
 ]]></notes>
  <contents>
   <dir name="/">
@@ -51,14 +47,34 @@ Extended HTTP support. Again. Keep in mind that it's got the major version 2, be
    <file role="doc" name="ThanksTo.txt"/>
    <file role="src" name="config.m4"/>
    <file role="src" name="config9.m4"/>
-  
+   
    <file role="src" name="php_http_api.h"/>
    <file role="src" name="php_http_buffer.c"/>
    <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_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_client_response.h"/>
    <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"/>
@@ -101,25 +117,15 @@ Extended HTTP support. Again. Keep in mind that it's got the major version 2, be
    <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_request.c"/>
-   <file role="src" name="php_http_request_datashare.c"/>
-   <file role="src" name="php_http_request_datashare.h"/>
-   <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"/>
    <file role="src" name="php_http_resource_factory.h"/>
-   <file role="src" name="php_http_serf.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"/>
    <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" />
@@ -132,6 +138,8 @@ Extended HTTP support. Again. Keep in mind that it's got the major version 2, be
      <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"/>