http://pear.php.net/
pear-webmaster@lists.php.netpear-webmaster@lists.php.neten-usLatest releases of http_requestThe latest releases for the package http_requestHTTP_Request 1.4.4
http://pear.php.net/package/HTTP_Request/download/1.4.4/
Development of HTTP_Request package is halted, only bug fixing will be done.<br />
Please submit feature requests for HTTP_Request2 package.<br />
<br />
Fixes:<br />
* Improved memory usage of _buildRequest() method (bug #14574)<br />
* Clarified documentation for addFile() method to mention that it is useful<br />
only for POST method file uploads (bug #14635)<br />
* Do not send "Content-Length: 0" header for methods other than<br />
POST and PUT, as some servers may return error 400 (bug #14740)
2008年11月17日T08:54:31-05:00avbHTTP_Request 1.4.3
http://pear.php.net/package/HTTP_Request/download/1.4.3/
* Added possibility to get reason phrase from HTTP response (request #12352)<br />
* PHP 4.2.0 should be the minimal PHP version (bug #12354), also updated other<br />
dependencies' versions to saner values<br />
* Send a Content-Length header in request even if body is empty (request #12900)<br />
* Do not pass length parameter to gzinflate(), it could cause problems in some<br />
corner cases (bugs #13135, #14370)<br />
* Return an error if trying to do a HTTPS request without OpenSSL support<br />
(bug #14127)<br />
* Do not stop reading chunked response body prematurely (bug #14200)
2008年07月21日T13:56:14-05:00avbHTTP_Request 1.4.2
http://pear.php.net/package/HTTP_Request/download/1.4.2/
* The final CRLF was not properly added to request headers on POST request <br />
with no post data (Thanks to Brock Weaver)<br />
* Added error codes (request #12335, thanks to Joe Stump for the patch)<br />
* HTTP_Request sent broken requests on redirects with no trailing slash<br />
(bug #12308, thanks to Joe Stump for the patch)<br />
* Requests with a body consisting of only a symbol '0' were sent without body<br />
(reported privately by Sam Ghods)<br />
* download-progress.php example was broken since 1.4.0 due to addition of <br />
'connect' and 'disconnect' events. Now works again.
2007年10月26日T09:48:41-05:00avbHTTP_Request 1.4.1
http://pear.php.net/package/HTTP_Request/download/1.4.1/
* Removed bogus parameter for getURL() (Bug #9586, thanks to Martin Jansen)<br />
* Improved API documentation (Bug #9984, thanks to Martin Jansen)<br />
* Fixed wrong Content-Length if using mbstring function overloading (bug #10605)<br />
* Fixed bogus "data CRC check failed" error on 64-bit systems (bug #10790,<br />
thanks to Bill Moran)<br />
* Redone the way package handles mbstring function overloading, this will allow<br />
using gzip Content-Encoding when said overloading is switched on<br />
* Added proper header comment blocks, improved phpdoc comments
2007年05月18日T15:24:58-05:00avbHTTP_Request 1.4.0
http://pear.php.net/package/HTTP_Request/download/1.4.0/
* Added Keep-Alive support (request #4806), thanks to Justin Patrin for the<br />
initial patch. Please note that "Connection: close" header is still added<br />
by default, you need to explicitly add "Connection: Keep-Alive" header or<br />
remove "Connection" header if using HTTP 1.1<br />
* A new disconnect() method was added which forces disconnection from the <br />
server if Keep-Alive is used. Also two new events are sent to the Listeners:<br />
"connect" and "disconnect"<br />
* Added getUrl() method (request #6589)<br />
* Added method to properly parse header of gzip-encoded data (see RFC 1952).<br />
This takes care of situations when the server adds some additional data<br />
to the header (bug #8245) or sends data that is not gzip-encoded when<br />
"Content-Encoding: gzip" header is present (bug #8213)<br />
* "Proxy-Authorization" header is now properly set by constructor<br />
(bug #5913)<br />
* Fixed doc comments mentioning addBody() method instead of proper setBody()<br />
(bug #5969)<br />
* Fixed erroneous removal of "Content-Type" header from request<br />
(bug #7922)<br />
* Bogus HTTP headers are now ignored (bug #8214)<br />
* Path is set to "/" if an URL without path (http://www.example.com)<br />
is given (bug #8662)<br />
* Moved to package.xml version 2.0
2006年10月25日T12:28:00-05:00avbHTTP_Request 1.3.0
http://pear.php.net/package/HTTP_Request/download/1.3.0/
* All request and response headers are now treated case-insensitively,<br />
per RFC 2616 (bug #1045, bug #4367).<br />
* Values of multiple response headers with the same name are combined<br />
into a comma-separated string per RFC 2616 (bug #1045)<br />
* Generate proper closing boundary for multipart/form-data requests,<br />
per RFC 1521 (bug #4397)<br />
* magic_quotes_runtime directive is switched off when performing the<br />
request since it may break file uploads and chunked responses (bug #4543)<br />
* Response::_readChunked() will finish on zero-length chunk rather than <br />
socket eof (patch from bug #3037)<br />
* Added HTTP_Request::setBody() method, deprecated addRawPostData() due to<br />
misleading name. The request body will be sent with all request methods<br />
except those that explicitly forbid this (e.g. TRACE). Data set via<br />
addPostData() / addFile() will only be sent with POST (see request #4716)
2005年11月06日T14:03:45-05:00avbHTTP_Request 1.2.4
http://pear.php.net/package/HTTP_Request/download/1.2.4/
* Notice was raised when processing a response containing secure <br />
cookies (bug #2741)<br />
* Warning was raised when processing a response with empty body and<br />
chunked Transfer-encoding (bug #2792)<br />
* Improved inline documentation on constructor parameters (bug #2751)
2004年12月30日T11:19:16-05:00avbHTTP_Request 1.2.3
http://pear.php.net/package/HTTP_Request/download/1.2.3/
* Auth information is properly extracted from URLs of the form http://user:pass@host/<br />
(bug #1507)<br />
* Connection to server is closed after performing request (bug #1692)<br />
* Use correct argument separator for generated query stings (bug #1857, see<br />
also bug #704 for Net_URL)<br />
* Do not use gzip encoding if certain string functions are overloaded by<br />
mbstring extension (bug #1781)<br />
* addPostData() now properly handles multidimensional arrays (bug #2233)
2004年10月01日T11:52:02-05:00avbHTTP_Request 1.2.2
http://pear.php.net/package/HTTP_Request/download/1.2.2/
Bug fixes:<br />
* Fixed #1037 (unable to connect to port 80 through HTTPS). This relies<br />
on fix for Net_URL bug #1036, thus Net_URL 1.0.12 is now required.<br />
* Fixed #1333 (sending POST data on non-POST requests).<br />
* Fixed #1433 (overwriting the variable name when adding multiple files <br />
for upload).
2004年05月19日T06:56:08-05:00avbHTTP_Request 1.2.1
http://pear.php.net/package/HTTP_Request/download/1.2.1/
Additions and changes:<br />
* Applied patch from #851 (First parameter of constructor is now optional)<br />
* Implemented #526 (It is now possible to set timeout on socket, via<br />
parameter readTimeout)<br />
* Implemented #1141 (It is now possible to pass options to socket via <br />
parameter socketOptions, Net_Socket 1.0.2 is needed for this functionality)<br />
<br />
Fixes:<br />
* Fixed #842 (Doc comments incorrectly described the possible return values)<br />
* Fixed #1152 (Incorrect handling of cookies with '=' in value)<br />
* Fixed #1158 (Cookie parameters are not necessarily lowercase)<br />
* Fixed #1080 (Cookies should not be urlencoded/urldecoded)
2004年04月29日T09:11:04-05:00avb