Login | Packages | Support | Bugs 

Top Level :: HTTP

pecl_http 1.0.0RC5

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

[ Download Latest ] [ Changelog ] [ View Statistics ]
[ Browse Source[ Package Bugs ][ View Documentation ]
[ Report new bug ]

Dependencies for release 1.0.0RC5
PRIVACY POLICY | CREDITS
Copyright © 2001-2012 The PHP Group
All rights reserved.
Last updated: Sat Feb 18 19:09:21 2012 UTC
Bandwidth and hardware provided by: pair Networks