<package version="1.0" packagerversion="1.4.3">
<name>pecl_http</name>
<summary>Extended HTTP Support</summary>
- <description>* Building absolute URLs
-* 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
+ <description>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>
<maintainers>
<maintainer>
</maintainer>
</maintainers>
<release>
- <version>0.18.0</version>
- <date>2005-11-16</date>
+ <version>0.19.0</version>
+ <date>2005-11-26</date>
<license>BSD, revised</license>
<state>beta</state>
- <notes>+ Added INI setting http.force_exit which can be used to disable script termination
- in case of redirects and positive cache hits (instead, standard output will be discarded)
-+ Classes HttpMessage and HttpRequestPool implement Countable if PHP >= 5.1 with SPL is available
-+ Class HttpMessage implements Serializable if PHP >= 5.1 is available
-+ Added experimental http.chunked_encode and chunked_decode stream filter
+ <notes>+ Added http_negotiate_content_type()
+
+* Fixed bug in http_negotiate_*() when client sends spaces within accept headers
-* Fixed a bug that caused a warning about an invalid curl handle at HttpRequestPool destruction
-* Fixed a bug with http_get_request_headers() modifying $_SERVER array
-* Fixed a bug which required "=" in Content-Range response message headers
-* Fixed a bug with directly setting HttpMessage property values
+- Removed support for etag hashing through libmhash
+- Removed HTTP_ETAG_* and HttpResponse::ETAG_* constants
+- Changed http.etag_mode INI setting to acccept a string specifying the
+ hash algorithm to use for generating etags.
+ CRC32, MD5 and SHA1 are available out of the box with MD5 being the default.
+ If pecl/hash is available, any algorithm this extension provides can be used.
</notes>
<deps>
<dep type="php" rel="ge" version="4.3"/>
</deps>
<configureoptions>
<configureoption name="with-http-curl-requests" default="yes" prompt="whether to enable cURL HTTP requests; specify libcurl directory"/>
- <configureoption name="with-http-mhash-etags" default="yes" prompt="whether to enable mhash ETag generator; specify libmhash directory"/>
<configureoption name="with-http-magic-mime" default="no" prompt="whether to enable response content type guessing; specify libmagic directory"/>
<configureoption name="with-http-zlib-compression" default="yes" prompt="whether to enable support for gzencoded/deflated message bodies; specify zlib directory"/>
</configureoptions>
<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="etag_mode_crc.phpt"/>
<file role="test" name="exceptions.phpt"/>
<file role="test" name="get_request_data_001.phpt"/>
<file role="test" name="HttpMessage_001.phpt"/>