X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;ds=sidebyside;f=docs%2Ffunctions.html;h=743a151fc7ad938c919560bdb374cfd19c912321;hb=addc97f0d58f4234080f520703c11b1d24940d3a;hp=4c6aeedcbfdadac51e1e3a8c3c74dae1169befaf;hpb=0783cd4e630749e23e0cff3ec2453036412bba67;p=m6w6%2Fext-http
diff --git a/docs/functions.html b/docs/functions.html
index 4c6aeed..743a151 100644
--- a/docs/functions.html
+++ b/docs/functions.html
@@ -198,7 +198,7 @@ requested last modification date is not between the calculated timespan,
the Last-Modified header is updated and the actual body will be sent.
Returns FALSE on failure, or *exits* with "304 Not Modified" if the entity is cached.
A log entry will be written to the cache log if the INI entry
-http.cache_log is set and the cache attempt was successful.
Attempts to cache the sent entity by its ETag, either supplied or generated
by the hash algorithm specified by the INI setting "http.etag.mode".
Returns FALSE on failure, or *exits* with "304 Not Modified" if the entity is cached.
A log entry is written to the cache log if the INI entry
-"http.cache_log" is set and the cache attempt was successful.
For use with ob_start(). Output buffer handler generating an ETag with
the hash algorithm specified with the INI setting "http.etag.mode".
Returns FALSE on failure, or *exits* on success.
A log entry will be written to the redirect log, if the INI entry
-"http.redirect_log" is set and the redirect attempt was successful.
Sends raw data with support for (multiple) range requests.
Returns TRUE on success, or FALSE on failure.
@@ -513,6 +513,9 @@ HTTP messages. Accepts an optional string parameter specifying the class to useSet the body of the HttpMessage.
NOTE: Don't forget to update any headers accordingly.
Expects a string parameter containing the new body of the message.
+Get message header.
+Returns the header value on success or NULL if the header does not exist.
Get Message Headers.
Returns an associative array containing the messages HTTP headers.
@@ -576,6 +579,13 @@ HttpMessage::TYPE_REQUEST or supplied URL was empty.Set the HTTP Protocol version of the Message.
Expects a string parameter containing the HTTP protocol version.
Returns TRUE on success, or FALSE if supplied version is out of range (1.0/1.1).
+Attempts to guess the content type of supplied payload through libmagic.
+Expects a string parameter specifying the magic.mime database to use.
+Additionally accepts an optional int parameter, being flags for libmagic.
Returns the guessed content type on success, or FALSE on failure.
+Throws HttpRuntimeException, HttpInvalidParamException
+if http.only_exceptions is TRUE.
Get parent Message.
Returns the parent HttpMessage on success, or NULL if there's none.
@@ -637,6 +647,12 @@ 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.Set query string entry/entries. NULL values will unset the variable.
+Copies the query string object and sets provided params at the clone.
+This is basically shorthand for:
+
+<?php
$newQS = new HttpQueryString(false, $oldQS);
$newQS->set($other_params);
?>
+
Get a single instance (differentiates between the global setting).
Implements Serializable.
Implements Serializable.
+Implements ArrayAccess.
+Implements ArrayAccess.
+Implements ArrayAccess.
+Implements ArrayAccess.
Generated at: Sun, 28 May 2006 17:34:52 +0200
+Generated at: Fri, 07 Jul 2006 21:23:59 +0200