» Version | » Information |
---|---|
2.6.0 |
Easy InstallNot sure? Get more info. pear install HTTP_Request2-2.6.0 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/HTTP_Request2-2.6.0 Release date: 2023-11-01 16:04 UTC Release state: stable Release uploaded by: avb Changelog: * Tested on PHP 8.2 and 8.3 * Use psalm for static analysis, several minor issues fixed * Correctly parse HTTP status line with an empty reason-phrase (see https://github.com/pear/HTTP_Request2/pull/26) * Updated Public Suffix List Dependencies: |
2.5.1 |
Easy InstallNot sure? Get more info. pear install HTTP_Request2-2.5.1 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/HTTP_Request2-2.5.1 Release date: 2022-01-06 13:23 UTC Release state: stable Release uploaded by: avb Changelog: * The package runs under PHP 8.1 without `E_DEPRECATED` messages https://github.com/pear/HTTP_Request2/issues/25 * Updated Public Suffix List Dependencies: |
2.5.0 |
Easy InstallNot sure? Get more info. pear install HTTP_Request2-2.5.0 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/HTTP_Request2-2.5.0 Release date: 2021-07-12 10:15 UTC Release state: stable Release uploaded by: avb Changelog: Fixed * Socket adapter will now retry writing to socket rather than throw an exception if `fwrite()` call returns zero written bytes https://github.com/pear/HTTP_Request2/issues/23 Changed * Socket adapter will use only TLS 1.2 and TLS 1.3 (the latter is available on PHP 7.4+) * Upgraded tests for PHPUnit 9 compatibility, PHPUnit Polyfills package is used to run them on PHP 5.6 to PHP 8 * Test suite now runs on Github Actions rather than on Travis * Updated Public Suffix List Dependencies: |
2.4.2 |
Easy InstallNot sure? Get more info. pear install HTTP_Request2-2.4.2 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/HTTP_Request2-2.4.2 Release date: 2020-09-24 18:13 UTC Release state: stable Release uploaded by: avb Changelog: Socket adapter could prematurely end receiving the response body due to fread() call returning an empty string Dependencies: |
2.4.1 |
Easy InstallNot sure? Get more info. pear install HTTP_Request2-2.4.1 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/HTTP_Request2-2.4.1 Release date: 2020-08-01 05:16 UTC Release state: stable Release uploaded by: avb Changelog: Switch socket to blocking mode when enabling crypto, this fixes HTTPS requests through proxy with Socket adapter https://github.com/pear/HTTP_Request2/issues/20 Dependencies: |
2.4.0 |
Easy InstallNot sure? Get more info. pear install HTTP_Request2-2.4.0 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/HTTP_Request2-2.4.0 Release date: 2020-07-26 13:43 UTC Release state: stable Release uploaded by: avb Changelog: * Minimum required version is now PHP 5.6, as using older versions for HTTPS requests may be insecure * Removed support for magic_quotes_runtime, as get_magic_quotes_runtime() was deprecated in PHP 7.4 and the functionality itself was disabled since PHP 5.4 (bug #23839) * Socket adapter now uses socket in non-blocking mode, as some configurations could have problems with timeouts in HTTPS requests (bug #21229) * Fixed bogus size check error with gzipped responses larger than 4 GiB uncompressed (bug #21239) * Use current "Intermediate compatibility" cipher list * Updated Public Suffix List The package is now 100% autoload-compatible, when installed with composer it no longer uses include-path and does not contain require_once statements Dependencies: |
2.3.0 |
Easy InstallNot sure? Get more info. pear install HTTP_Request2-2.3.0 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/HTTP_Request2-2.3.0 Release date: 2016-02-13 15:24 UTC Release state: stable Release uploaded by: avb Changelog: New features: * New observer that can do on-the-fly decoding of compressed responses, see HTTP_Request2_Observer_UncompressingDownload. Thanks to Delian Krustev for initial implementation. * CookieJar can now silently ignore invalid cookies with $jar->ignoreInvalidCookies(true); instead of throwing an exception. See requests #19937 and #20401 * Adapters now dispatch a new 'warning' event, e.g. in case of incomplete response body or broken 'chunked' encoding. Exception was thrown previously by Socket adapter in the latter case, see bug #20228 * Improved security of HTTPS requests in Socket adapter - Use 'tls://' instead of 'ssl://' in connection string to prevent fallback to known insecure versions, use only TLS when enabling crypto via proxy (see bug #20462) - On PHP 5.6+ require using only TLS 1.1 and TLS 1.2 - Do not use insecure ciphers * Improved test suite, network-backed tests now run on Travis CI Changes and fixes: * Curl adapter failed to send PUT request body with 'follow_redirects' on (bug #20440) * Curl adapter supplied invalid cookie domain to CookieJar after redirect (bug #20561) * Curl adapter now properly dispatches events while sending the request * mime_content_type() returning false was handled incorrectly when guessing content-type * Use 'peer_name' and 'verify_peer_name' SSL context options on PHP 5.6+ instead of deprecated 'CN_match' * Public Suffix List updated to current version, its download location changed Note to Composer users: next package version will probably get rid of 'include-path' setting in composer.json favour of using autoloader. Dependencies: |
2.2.1 |
Easy InstallNot sure? Get more info. pear install HTTP_Request2-2.2.1 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/HTTP_Request2-2.2.1 Release date: 2014-01-16 19:53 UTC Release state: stable Release uploaded by: avb Changelog: * Fixed a bogus timeout Exception in Socket adapter after waiting for "100 Continue" response: the same one-second timeout was used for further socket operations if explicit 'timeout' parameter was not set. Thanks to Andrea Brancatelli (abrancatelli at schema31 dot it) for the report. * Bundled a separate LICENSE file (request #20175). Updated phrasing and links to mention 3-Clause BSD license the package actually uses. Dependencies: |
2.2.0 |
Easy InstallNot sure? Get more info. pear install HTTP_Request2-2.2.0 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/HTTP_Request2-2.2.0 Release date: 2014-01-13 10:06 UTC Release state: stable Release uploaded by: avb Changelog: New features * Socket adapter will send "Expect: 100-continue" header and wait for "100 Continue" response by default before sending large request body (request #19233). This can be disabled by setting an empty "Expect" header, the same way as done with Curl adapter (see bug #15937) * It is possible to specify a local IP address to bind to using 'local_ip' configuration parameter (request #19515) Other changes and fixes * An infinite loop was possible when using a stream wrapper instead of a regular file with MultipartBody (bug #19934) * Socket adapter will properly send chunked request body if "Transfer-Encoding: chunked" header is set for the request (bug #20125) * Updated Public Suffix List to the latest version and updated its download script * Unit tests fixes Dependencies: |
2.1.1 |
Easy InstallNot sure? Get more info. pear install HTTP_Request2-2.1.1 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/HTTP_Request2-2.1.1 Release date: 2012-04-08 09:31 UTC Release state: stable Release uploaded by: avb Changelog: Fixes for SOCKS5 proxies support in Socket adapter Dependencies: |
2.1.0 |
Easy InstallNot sure? Get more info. pear install HTTP_Request2-2.1.0 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/HTTP_Request2-2.1.0 Release date: 2012-04-07 12:21 UTC Release state: stable Release uploaded by: avb Changelog: New features: * Mock adapter can return responses based on request URL (request #19276) * Support for SOCKS5 proxies, added 'proxy_type' configuration parameter (request #19332) * Proxy configuration may be given as an URL, e.g. $request->setConfig('proxy', 'socks5://localhost:1080'); Other changes and fixes: * Coding standards fixes (request #14990) * Unit tests now run from SVN checkout and under PHPUnit 3.6.x * Explicit dependency on PEAR (until PEAR_Exception is a separate package) * Get rid of track_errors, use a more robust solution (bug #19337) * Additional class_exists() check in setAdapter() (request #19344) * Public suffix list updated to current version Dependencies: |
2.0.0 |
Easy InstallNot sure? Get more info. pear install HTTP_Request2-2.0.0 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/HTTP_Request2-2.0.0 Release date: 2011-10-20 15:17 UTC Release state: stable Release uploaded by: avb Changelog: 2.0.0RC2 repackaged as stable and depending on stable Net_URL2. No code changes. Dependencies:
|
2.0.0RC2 |
Easy InstallNot sure? Get more info. pear install HTTP_Request2-2.0.0RC2 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/HTTP_Request2-2.0.0RC2 Release date: 2011-10-01 10:42 UTC Release state: beta Release uploaded by: avb Changelog: * Added an accessor method for HTTP_Request2_Response::$phrases (request #18716) * HTTP_Request2::send() throws an exception if URL is not provided rather than dies with a fatal error (bug #18755) * Public Suffix List updated to current version Dependencies:
|
2.0.0RC1 |
Easy InstallNot sure? Get more info. pear install HTTP_Request2-2.0.0RC1 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/HTTP_Request2-2.0.0RC1 Release date: 2011-05-06 08:35 UTC Release state: beta Release uploaded by: avb Changelog: SSL options for Curl Adapter are always set, this prevents errors when redirecting from HTTP to HTTPS (bug #18443) Dependencies:
|
2.0.0beta3 |
Easy InstallNot sure? Get more info. pear install HTTP_Request2-2.0.0beta3 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/HTTP_Request2-2.0.0beta3 Release date: 2011-04-03 17:47 UTC Release state: beta Release uploaded by: avb Changelog: * Added getEffectiveUrl() method to Response object, it returns the URL response was received from, possibly after redirects (request #18412) * Curl Adapter didn't send body for PUT requests sometimes (bug #18421) Dependencies:
|
2.0.0beta2 |
Easy InstallNot sure? Get more info. pear install HTTP_Request2-2.0.0beta2 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/HTTP_Request2-2.0.0beta2 Release date: 2011-03-25 10:58 UTC Release state: beta Release uploaded by: avb Changelog: * Unit tests can now be run under recent PHPUnit versions (3.5+) * Public Suffix List updated to current version * PHP warning produced by stream_socket_client() in Socket adapter is now added to Exception message (bug #18331) Dependencies:
|
2.0.0beta1 |
Easy InstallNot sure? Get more info. pear install HTTP_Request2-2.0.0beta1 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/HTTP_Request2-2.0.0beta1 Release date: 2011-02-27 22:04 UTC Release state: beta Release uploaded by: avb Changelog: Additions and changes: * Implemented cookie jar that allows to store and pass cookies across HTTP requests (see request #18225) * Added several specialized subclasses of HTTP_Request2_Exception, they are now thrown instead of the parent. Also added error codes and possibility to get native error code (as returned by stream_socket_client() and curl_errno()) (request #16762) * An additional 'sentBody' event is now sent to Observers (request #16828) * setBody() and addUpload() can now accept file pointers (request #16863) Bugfixes: * Incorrect check in Socket Adapter prevented Keep-alive from working in some cases (bug #17031) Dependencies:
|
0.6.0 |
Easy InstallNot sure? Get more info. pear install HTTP_Request2-0.6.0 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/HTTP_Request2-0.6.0 Release date: 2011-02-14 15:04 UTC Release state: alpha Release uploaded by: avb Changelog: Additions and changes: * Added test suite that interacts with a webserver. Please refer to tests/NetworkConfig.php.dist for instructions. * Packaging changes: docs/ and tests/ contents are installed without redundant subdirectories. * Added a $replace parameter to HTTP_Request2::setHeader() that controls whether new header value will overwrite previous one or be appended to it (request #17507) Bugfixes: * Fixed a typo in Curl Adapter that prevented 'strict_redirects' from working * Curl Adapter will throw an exception if CURLOPT_FOLLOWLOCATION can not be enabled due to PHP setup (bug #17450) * Allow parameters in manually set Content-Type headers (bug #17460) * Properly reset redirect limit if multiple requests are performed with the same instance of Socket Adapter (bug #17826) * Response::getBody() no longer tries to decode empty strings (bug #18169) Dependencies:
|
0.5.2 |
Easy InstallNot sure? Get more info. pear install HTTP_Request2-0.5.2 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/HTTP_Request2-0.5.2 Release date: 2010-04-21 12:56 UTC Release state: alpha Release uploaded by: avb Changelog: * magic_quotes_runtime PHP setting could be incorrectly enabled after performing the request (bug #16440) * Unit tests fixes (bugs #17079, #17106, #17326) * Observer_Log now appends to the log file rather than rewrites it (thanks to troelskn at gmail dot com for reporting) Dependencies:
|
0.5.1 |
Easy InstallNot sure? Get more info. pear install HTTP_Request2-0.5.1 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/HTTP_Request2-0.5.1 Release date: 2009-11-21 19:00 UTC Release state: alpha Release uploaded by: avb Changelog: * Content-Type request header is no longer removed for POST and PUT requests with empty request body (request #16799). * CURLOPT_NOBODY option is now set when doing HEAD requests with Curl adapter. Dependencies:
|
0.5.0 |
Easy InstallNot sure? Get more info. pear install HTTP_Request2-0.5.0 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/HTTP_Request2-0.5.0 Release date: 2009-11-18 18:36 UTC Release state: alpha Release uploaded by: avb Changelog: * Redirect support added, new configuration parameters 'follow_redirects', 'max_redirects' and 'strict_redirects' available * Implemented workaround for PHP bug 47204, Curl Adapter can now handle Digest authentication and redirects when doing POST requests, unfortunately this requires loading the entire request body into memory. * Config parameter 'use_brackets' is propagated to created instances of Net_URL2 * Prevent memory leaks due to circular references (request #16646) * Fixed a misleading error message when timing out due to default_socket_timeout * HTTP_Request2::setBody() can now accept an instance of HTTP_Request2_MultipartBody without trying to convert it to string * Calling HTTP_Request2::setBody() now clears post parameters and uploads Dependencies:
|
0.4.1 |
Easy InstallNot sure? Get more info. pear install HTTP_Request2-0.4.1 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/HTTP_Request2-0.4.1 Release date: 2009-09-14 18:15 UTC Release state: alpha Release uploaded by: avb Changelog: * Decoding of gzipped responses failed if mbstring.func_overload was enabled (bug #16555) * Changed boundary generation in multipart bodies to work correctly with rapidshare.com, added first usage example: file uploading to rapidshare.com * Added forgotten optional dependency on OpenSSL PHP extension Dependencies:
|
0.4.0 |
Easy InstallNot sure? Get more info. pear install HTTP_Request2-0.4.0 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/HTTP_Request2-0.4.0 Release date: 2009-05-03 13:16 UTC Release state: alpha Release uploaded by: avb Changelog: * Added 'store_body' config parameter, if set to false it will prevent storing the response body in Response object (request #15881) * HTTP_Request2::setHeader() method now works as documented, setHeader('name') will remove the 'name' header, while setHeader('name', '') will set 'name' header to empty value (bug #15937) * Custom 'Host' header will not be overwritten by generated one (bug #16146) * When trying to reuse the connected socket in Socket adapter, make sure that it is still connected (bug #16149) Dependencies:
|
0.3.0 |
Easy InstallNot sure? Get more info. pear install HTTP_Request2-0.3.0 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/HTTP_Request2-0.3.0 Release date: 2009-01-28 16:22 UTC Release state: alpha Release uploaded by: avb Changelog: API changes: * Removed HTTP_Request2::getConfigValue() method Feature additions: * Added digest authentication (RFC 2617) support to Socket adapter. Thanks to Tom Snyder (tomsn at inetoffice dot com) who sent me a prototype implementation for HTTP_Request a couple of years ago. * Added HTTPS proxy support to Socket adapter, this works through CONNECT request described in RFC 2817. * Mock adapter can now throw an Exception instead of returning a response if Exception object is added via its addResponse() method (request #15629) Other changes and fixes: * Support RFC 3986 by not encoding '~' in POST body (request #15368) * Prevent an error with particular versions of PHP and Curl (bug #15617) * Regular expressions used in HTTP_Request2 are now class constants (request #15630) * Curl adapter now throws an exception in case of malformed (non-HTTP) response rather than dies with a fatal error (bug #15716) * Curl handle wasn't closed in Curl adapter in case of error (bug #15721) * Curl adapter sent an extra 'sentHeaders' event and returned bogus response status when server returned 100-Continue response (bug #15785) Dependencies:
|
0.2.0 |
Easy InstallNot sure? Get more info. pear install HTTP_Request2-0.2.0 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/HTTP_Request2-0.2.0 Release date: 2009-01-07 14:31 UTC Release state: alpha Release uploaded by: avb Changelog: API changes: * HTTP_Request2::getConfigValue() is deprecated and will be removed in next release. Use HTTP_Request2::getConfig(). * Changed HTTP_Request2::setConfig() to accept a pair of parameter name and parameter value in addition to array('parameter name' => 'value') * Added HTTP_Request2::getConfig() method that can return a single configuration parameter or the whole configuration array Other additions and changes: * Added a debug Observer that can log request progress to a file or an instance of PEAR::Log (thanks to David Jean Louis, request #15424) * Added a new 'timeout' parameter that limits total number of seconds a request can take (see requests #5735 and #8964) * Added various SSL protocol options: 'ssl_verify_peer', 'ssl_verify_host', 'ssl_cafile', 'ssl_capath', 'ssl_local_cert', 'ssl_passphrase'. Note that 'ssl_verify_host' option behaves differently in Socket and Curl Adapters: http://bugs.php.net/bug.php?id=47030 Fixes: * Fixed 'data error' when processing response encoded by 'deflate' encoding (bug #15305) * Curl Adapter now passes full request headers in 'sentHeaders' event Dependencies:
|
0.1.0 |
Easy InstallNot sure? Get more info. pear install HTTP_Request2-0.1.0 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/HTTP_Request2-0.1.0 Release date: 2008-11-17 08:30 UTC Release state: alpha Release uploaded by: avb Changelog: Initial release. The features supported are mostly the same as those of HTTP_Request, with the following additional feature requests implemented: * cURL extension support (request #5463) * It is now possible to monitor the file upload progress with Observers (request #7630) * Added 'sentHeaders' notification providing the request headers to the Observers (request #7633) * Added support for 'deflate' encoding (request #11246) Dependencies:
|