- using Accept-Encoding header instead of CURLOPT_ENCODING avoids issues with curl...
[m6w6/ext-http] / package2.xml
index 7e418011876dfc27e806f91c593e1493a6d52bad..73838c65ab3f6a5bdec8cdb6dd54813c635e21e1 100644 (file)
  <channel>pecl.php.net</channel>
  <summary>Extended HTTP Support</summary>
  <description><![CDATA[
-* Building absolute URIs
-* RFC compliant HTTP redirects
-* RFC compliant HTTP date handling
-* Parsing of HTTP headers and messages
-* Caching by "Last-Modified" and/or ETag
-  (with 'on the fly' option for ETag generation from buffered output)
-* Sending data/files/streams with (multiple) ranges support
-* Negotiating user preferred language/charset
-* Convenient request functionality built upon libcurl
-* PHP5 classes: HttpUtil, HttpResponse (PHP-5.1), HttpRequest, HttpRequestPool, HttpMessage
+This HTTP extension aims to provide a convenient and powerful 
+set of functionality for one of PHPs major applications.
+
+It eases handling of HTTP urls, dates, redirects, headers and 
+messages, provides means for negotiation of clients preferred 
+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.
+
+PHP-5 classes:
+HttpUtil, HttpMessage, HttpRequest, HttpRequestPool; HttpResponse (PHP-5.1)
 ]]></description>
  <lead>
   <name>Michael Wallner</name>
  </lead>
  <date>2005-00-00</date>
  <version>
-  <release>0.16.0</release>
-  <api>0.16.0</api>
+  <release>0.20.0</release>
+  <api>0.20.0</api>
  </version>
  <stability>
   <release>beta</release>
   <api>beta</api>
  </stability>
- <license uri="http://www.php.net/license">PHP License</license>
+ <license>BSD, revised</license>
  <notes><![CDATA[
-+ Added ext/zlib independant GZIP support
+! Request functionality requires libcurl >= 7.12.3 now
+
++ Added 'bodyonly' request option
++ Added IOCTL callback for cURL
++ Added ssl_engines array and cookies array to the request info array
++ Added http_parse_cookie() to parse Set-Cookie headers
+
+- Renamed http_connectcode to connect_code in the request info array
+- Enable "original headers" previously stripped off by the message parser:
+       o X-Original-Transfer-Encoding (Transfer-Encoding)
+       o X-Original-Content-Encoding (Content-Encoding)
+       o X-Original-Content-Length (Content-Length)
+- RequestExceptions thrown by HttpRequestPool::__construct() and send() are
+  now wrapped into the HttpRequestPoolException object's $exceptionStack property
+- Removed http_compress() and http_uncompress() (http_deflate/inflate ambiguity)
+
+* Fixed bug which caused GZIP encoded archives to be decoded
+* Fixed bug with DEFLATE encoded response messages
+* Fixed several memory leaks and inconspicuous access violations
+* Fixed some logical errors in the uri builder
 ]]></notes>
  <contents>
   <dir name="/">
+   <file role="doc" name="LICENSE"/>
    <file role="doc" name="CREDITS"/>
    <file role="doc" name="EXPERIMENTAL"/>
    <file role="doc" name="KnownIssues.txt"/>
    <file role="doc" name="docs/functions.html"/>
-   <file role="doc" name="docs/examples/Bandwidth_Throttling.php"/>
-   <file role="doc" name="docs/examples/Cached_Responses.php"/>
-   <file role="doc" name="docs/examples/GET_Queries.php"/>
-   <file role="doc" name="docs/examples/KISS_XMLRPC_Client.php"/>
-   <file role="doc" name="docs/examples/Multipart_Posts.php"/>
-   <file role="doc" name="docs/examples/Parallel_Requests.php"/>
-   <file role="doc" name="docs/examples/Parallel_Requests_.php"/>
-   <file role="doc" name="docs/examples/Simple_Feed_Aggregator.php"/>
    <file role="doc" name="docs/examples/extract.php"/>
    <file role="doc" name="docs/examples/tutorial.txt"/>
    
    <file role="src" name="php_http_cache_api.h"/>
    <file role="src" name="php_http_date_api.h"/>
    <file role="src" name="php_http_encoding_api.h"/>
+   <file role="src" name="php_http_filter_api.h"/>
    <file role="src" name="php_http_headers_api.h"/>
    <file role="src" name="php_http_info_api.h"/>
    <file role="src" name="php_http_message_api.h"/>
    <file role="src" name="php_http_request_api.h"/>
+   <file role="src" name="php_http_request_body_api.h"/>
    <file role="src" name="php_http_request_method_api.h"/>
    <file role="src" name="php_http_request_pool_api.h"/>
    <file role="src" name="php_http_send_api.h"/>
    <file role="src" name="http_cache_api.c"/>
    <file role="src" name="http_date_api.c"/>
    <file role="src" name="http_encoding_api.c"/>
+   <file role="src" name="http_filter_api.c"/>
    <file role="src" name="http_headers_api.c"/>
    <file role="src" name="http_info_api.c"/>
    <file role="src" name="http_message_api.c"/>
    <file role="src" name="http_request_api.c"/>
+   <file role="src" name="http_request_body_api.c"/>
    <file role="src" name="http_request_method_api.c"/>
    <file role="src" name="http_request_pool_api.c"/>
    <file role="src" name="http_send_api.c"/>
    
    <dir name="tests">
     <file role="test" name="data.txt"/>
+    <file role="test" name="urls.txt"/>
     <file role="test" name="skip.inc"/>
     <file role="test" name="log.inc"/>
     <file role="test" name="abs_uri_001.phpt"/>
     <file role="test" name="abs_uri_002.phpt"/>
     <file role="test" name="allowed_methods_001.phpt"/>
     <file role="test" name="allowed_methods_001_logging.phpt"/>
+    <file role="test" name="allowed_methods_002.phpt"/>
+    <file role="test" name="allowed_methods_002_logging.phpt"/>
+    <file role="test" name="build_uri_001.phpt"/>
     <file role="test" name="chunked_decode_001.phpt"/>
     <file role="test" name="chunked_decode_002.phpt"/>
+    <file role="test" name="chunked_decode_003.phpt"/>
+    <file role="test" name="chunked_decode_004.phpt"/>
+    <file role="test" name="cloning_001.phpt"/>
     <file role="test" name="date_001.phpt"/>
     <file role="test" name="date_002.phpt"/>
     <file role="test" name="encodings.phpt"/>
     <file role="test" name="etag_mode_012.phpt"/>
     <file role="test" name="etag_mode_013.phpt"/>
     <file role="test" name="etag_mode_014.phpt"/>
-    <file role="test" name="etag_mode_crc.phpt"/>
+    <file role="test" name="etag_mode_031.phpt"/>
+    <file role="test" name="etag_mode_032.phpt"/>
+    <file role="test" name="etag_mode_033.phpt"/>
+    <file role="test" name="etag_mode_034.phpt"/>
+    <file role="test" name="etag_mode_041.phpt"/>
+    <file role="test" name="etag_mode_042.phpt"/>
+    <file role="test" name="etag_mode_043.phpt"/>
+    <file role="test" name="etag_mode_044.phpt"/>
+    <file role="test" name="exceptions.phpt"/>
     <file role="test" name="get_request_data_001.phpt"/>
     <file role="test" name="HttpMessage_001.phpt"/>
-    <file role="test" name="HttpRequestPool_001.phpt"/>
+    <file role="test" name="HttpMessage_002.phpt"/>
+    <file role="test" name="HttpMessage_003.phpt"/>
     <file role="test" name="HttpRequest_001.phpt"/>
     <file role="test" name="HttpRequest_002.phpt"/>
     <file role="test" name="HttpRequest_003.phpt"/>
+    <file role="test" name="HttpRequestPool_001.phpt"/>
+    <file role="test" name="HttpRequestPool_002.phpt"/>
+    <file role="test" name="HttpRequestPool_003.phpt"/>
+    <file role="test" name="HttpRequestPool_004.phpt"/>
     <file role="test" name="HttpResponse_001.phpt"/>
     <file role="test" name="HttpResponse_002.phpt"/>
     <file role="test" name="HttpResponse_003.phpt"/>
     <file role="test" name="HttpResponse_004.phpt"/>
     <file role="test" name="INI_001.phpt"/>
+    <file role="test" name="match_request_header_001.phpt"/>
+    <file role="test" name="negotiation_001.phpt"/>
     <file role="test" name="parse_headers_001.phpt"/>
+    <file role="test" name="parse_message_001.phpt"/>
     <file role="test" name="parse_message_002.phpt"/>
     <file role="test" name="parse_message_003.phpt"/>
     <file role="test" name="parse_message_004.phpt"/>
+    <file role="test" name="parse_message_005.phpt"/>
     <file role="test" name="redirect_001.phpt"/>
     <file role="test" name="redirect_001_logging.phpt"/>
     <file role="test" name="redirect_002.phpt"/>
     <file role="test" name="redirect_002_logging.phpt"/>
     <file role="test" name="redirect_003.phpt"/>
     <file role="test" name="redirect_003_logging.phpt"/>
+    <file role="test" name="redirect_011.phpt"/>
+    <file role="test" name="redirect_011_logging.phpt"/>
+    <file role="test" name="redirect_012.phpt"/>
+    <file role="test" name="redirect_012_logging.phpt"/>
+    <file role="test" name="redirect_013.phpt"/>
+    <file role="test" name="redirect_013_logging.phpt"/>
     <file role="test" name="request_gzip.phpt"/>
+    <file role="test" name="request_methods.phpt"/>
+    <file role="test" name="stream_filters_001.phpt"/>
     <file role="test" name="send_data_001.phpt"/>
     <file role="test" name="send_data_002.phpt"/>
     <file role="test" name="send_data_003.phpt"/>
     <file role="test" name="send_data_007_logging.phpt"/>
     <file role="test" name="send_data_008.phpt"/>
     <file role="test" name="send_data_009.phpt"/>
+    <file role="test" name="send_data_010.phpt"/>
+    <file role="test" name="send_data_011.phpt"/>
     <file role="test" name="send_file_001.phpt"/>
     <file role="test" name="send_file_002.phpt"/>
     <file role="test" name="send_file_003.phpt"/>
     <file role="test" name="send_file_005.phpt"/>
     <file role="test" name="send_file_006.phpt"/>
     <file role="test" name="send_file_007.phpt"/>
+    <file role="test" name="send_file_008.phpt"/>
+    <file role="test" name="send_file_009.phpt"/>
+    <file role="test" name="send_file_010.phpt"/>
+    <file role="test" name="send_file_011.phpt"/>
+    <file role="test" name="send_file_012.phpt"/>
+    <file role="test" name="send_file_013.phpt"/>
    </dir>
   </dir>
  </contents>
    </pearinstaller>
   </required>
   <optional>
-   <extension>
-    <name>session</name>
-   </extension>
+   <extension><name>session</name></extension>
+   <extension><name>hash</name></extension>
+   <extension><name>zlib</name></extension>
   </optional>
  </dependencies>
  <providesextension>http</providesextension>
    prompt="whether to enable cURL HTTP requests; specify libcurl directory"
    default="yes"
   />
-  <configureoption
-   name="with-http-mhash-etags"
-   prompt="whether to enable mhash ETag generator; specify libmhash directory"
-   default="yes"
-  />
   <configureoption
    name="with-http-magic-mime"
    prompt="whether to enable response content type guessing; specify libmagic directory"
    default="no"
   />
   <configureoption
-   name="with-zlib-compression"
-   prompt="whether to enable support for gzencoded/deflated message bodies"
+   name="with-http-zlib-compression"
+   prompt="whether to enable support for gzencoded/deflated message bodies; specify zlib directory"
    default="yes"
   />
   <filelist>
    <install as="functions.html" name="docs/functions.html"/>
-   <install as="examples/Bandwidth_Throttling.php" name="docs/examples/Bandwidth_Throttling.php"/>
-   <install as="examples/Cached_Responses.php" name="docs/examples/Cached_Responses.php"/>
-   <install as="examples/GET_Queries.php" name="docs/examples/GET_Queries.php"/>
-   <install as="examples/KISS_XMLRPC_Client.php" name="docs/examples/KISS_XMLRPC_Client.php"/>
-   <install as="examples/Multipart_Posts.php" name="docs/examples/Multipart_Posts.php"/>
-   <install as="examples/Parallel_Requests.php" name="docs/examples/Parallel_Requests.php"/>
-   <install as="examples/Parallel_Requests_.php" name="docs/examples/Parallel_Requests_.php"/>
-   <install as="examples/Simple_Feed_Aggregator.php" name="docs/examples/Simple_Feed_Aggregator.php"/>
    <install as="examples/extract.php" name="docs/examples/extract.php"/>
    <install as="examples/tutorial.txt" name="docs/examples/tutorial.txt"/>
   </filelist>