HTTPhttp
&reftitle.intro;
This HTTP extension aims to provide a convenient and powerful
set of functionality for one of PHPs major applications.
It eases handling of HTTP URLs, dates, redirects, headers and
messages, provides means for negotiation of clients preferred
language and charset, as well as a convenient way to send any
arbitrary data with caching and resuming capabilities.
It provides powerful request functionality, if built with CURL
support. Parallel requests are available for PHP 5 and greater.
Additionally to the API reference in this manual you can find
information about how to install and configure as well as
which global constants are predefined in the following sections:
InstallationConfigurationGlobal ConstantsResource TypesClasses
&extension.classes;
The HttpResponse class requires at least PHP v5.1.
Any other class is available as of PHP v5.0.
Be aware though, that some methods are not available with PHP v5.0.
HttpMessageHttpQueryStringHttpDeflateStreamHttpInflateStreamHttpRequestHttpRequestPoolHttpResponseFunctionsBuilt-in Functions
Built-in HTTP related functions previously listed on this page can be found in the
networking category.
The following functions do not need the HTTP module to be present:
header, headers_list, headers_sent,
setcookie &listendand; setrawcookie.
Cachinghttp_cache_etaghttp_cache_last_modifiedEncodingshttp_chunked_decodehttp_deflatehttp_inflateMiscellaneoushttp_build_cookiehttp_datehttp_get_request_body_streamhttp_get_request_bodyhttp_get_request_headershttp_match_etaghttp_match_modifiedhttp_match_request_headerhttp_supportNegotiationhttp_negotiate_charsethttp_negotiate_content_typehttp_negotiate_languageOutputhandlersob_deflatehandlerob_etaghandlerob_inflatehandlerParsershttp_parse_cookiehttp_parse_headershttp_parse_messagehttp_parse_paramsRequestshttp_gethttp_headhttp_post_datahttp_post_fieldshttp_put_datahttp_put_filehttp_put_streamhttp_request_body_encodehttp_request_method_existshttp_request_method_namehttp_request_method_registerhttp_request_method_unregisterhttp_requestResponseshttp_redirecthttp_send_content_dispositionhttp_send_content_typehttp_send_datahttp_send_filehttp_send_last_modifiedhttp_send_statushttp_send_streamhttp_throttleURLshttp_build_strhttp_build_urlPersistent Handleshttp_persistent_handles_counthttp_persistent_handles_identhttp_persistent_handles_clean
&reference.http.install;
&reference.http.configuration;
&reference.http.resources;
&reference.http.constants;
&reference.http.request-options;
&reference.http.HttpMessage;
&reference.http.HttpQueryString;
&reference.http.HttpDeflateStream;
&reference.http.HttpInflateStream;
&reference.http.HttpRequest;
&reference.http.HttpRequestPool;
&reference.http.HttpResponse;
&reference.http.functions;