| Package Information |
| Summary |
Extended HTTP Support |
| Maintainers |
Michael Wallner <mike@php.net> (lead) [details]
|
| License |
BSD, revised |
| Description |
Extended HTTP support. Again. Keep in mind that it's got the major version 2, because it's incompatible with pecl_http v1.
* Introduces the http namespace.
* Message bodies have been remodeled to use PHP temporary streams instead of in-memory buffers.
* The utterly misunderstood HttpResponse class has been reimplemented as httpEnvResponse inheriting httpMessage.
* Currently, there's only one Exception class left, httpException.
* Errors triggered by the extension can be configured statically by httpObject::$defaultErrorHandling or inherited httpObject->errorHandling.
* The request ecosystem has been modularized to support different libraries, though for the moment only libcurl is supported. |
Release notes Version 1.0.0RC5 (beta) |
+ Added HttpRequest::enableCookies() and HttpRequest::resetCookies([bool session_only=FALSE])
+ Added optional flags argument to http_parse_params()
+ Added HTTP_PARAMS_ALLOW_COMMA, HTTP_PARAMS_ALLOW_FAILURE, HTTP_PARAMS_RAISE_ERROR constants
* Fixed http_build_url("./path") if REQUEST_URI is empty
* Fixed http_parse_params("foo;bar") returning "foo" and "ar"
* Fixed return value of http_parse_params() Object{"params"=>Array("value", Array("name"=>"value"), ...)}
* Fixed HttpMessage::setRequestMethod() errenously issuing a warning about an unknown request method
* Fixed bugs introduced by using the new REQUEST_TIME server variable
! NOTE: Many INI settings have been renamed to comply with the internal structure |
|