| 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.0 (stable) |
+ Added --with[out]-http-shared-deps configure option (dependencies on shared extensions)
+ Added INI entries: http.log.not_found, http.send.not_found_404
+ Added HttpMessage::guessContentType()
* Fixed build on Debian systems where access to Curl_* functions is prohibited
* Fixed empty Cache-Control header if not customly set with HttpResponse
* Reset Content-Disposition and Content-Type if file is not found by http_send_file() etc |
|