From: Michael Wallner
- redirect: redirects to a different host
- proxyhost: string, proxy host in "host[:port]" format
- proxyport: int, use another proxy port as specified in proxyhost
+ - proxytype: int, HTTP_PROXY_HTTP, SOCKS4 or SOCKS5
- proxyauth: string, proxy credentials in "user:pass" format
- proxyauthtype: int, HTTP_AUTH_BASIC and/or HTTP_AUTH_NTLM
- httpauth: string, http credentials in "user:pass" format
@@ -329,6 +330,9 @@ array where the following keys will be recognized:- redirect: - cookiesession: bool, accept (true) or reset (false) sessioncookies
- resume: int, byte offset to start the download from;
if the server supports ranges
+ - range: array, array of arrays, each containing two integers,
+ specifying the ranges to download if server support is
+ given; only recognized if the resume option is empty
- maxfilesize: int, maximum file size that should be downloaded;
has no effect, if the size of the requested entity is not known
- lastmodified: int, timestamp for If-(Un)Modified-Since header
@@ -562,6 +566,7 @@ HttpMessage::TYPE_REQUEST or supplied URL was empty.HttpMessage HttpMessage::getParentMessage()
Get parent Message.
Returns the parent HttpMessage on success, or NULL if there's none.
+Throws HttpMessageException.
bool HttpMessage::send()
Send the Message according to its type as Response or Request.
@@ -618,9 +623,9 @@ Operates on and modifies $_GET and $_SERVER['QUERY_STRING'] if global is TRUE. "b" for bool, "i" for int, "f" for float, "s" for string, "a" for array and "o" for a stdClass object.
This provides limited functionality compared to HttpRequest and HttpResponse.string HttpQueryString::set(mixed params)
Set query string entry/entries. NULL values will unset the variable.
-HttpQueryString HttpQueryString::getInstance([bool global = true])
+HttpQueryString HttpQueryString::singleton([bool global = true])
Get a single instance (differentiates between the global setting).
-bool HttpQueryString::iconv(string ie, string oe)
+bool HttpQueryString::xlate(string ie, string oe)
Converts the query string from the source encoding ie to the target encoding oe.
WARNING: Don't use any character set that can contain NUL bytes like UTF-16.Returns TRUE on success or FALSE on failure.
@@ -849,7 +854,7 @@ references the last received response. references the last received response. Use HttpMessage::getParentMessage()
to access the data of previously received responses within this request
cycle. -Throws HttpException.
+Throws HttpException, HttpRuntimeException.
HttpMessage HttpRequest::getRequestMessage()
Get sent HTTP message.
Returns an HttpMessage object representing the sent request.
@@ -1277,8 +1282,8 @@ http.cache_log is set.
Generated at: Fri, 24 Feb 2006 21:29:29 +0100
+Generated at: Tue, 07 Mar 2006 15:57:21 +0100