From 916df412f5b6f7fb9bcfb705a3c8c23e35304410 Mon Sep 17 00:00:00 2001 From: Thomas Renes Date: Sat, 8 Jan 2022 16:25:17 +0100 Subject: Fix various typos and spelling errors in documentation, comments and code. (#4134) --- lib/http-conditional.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/http-conditional.php') diff --git a/lib/http-conditional.php b/lib/http-conditional.php index ad920455d..853fdf983 100644 --- a/lib/http-conditional.php +++ b/lib/http-conditional.php @@ -16,9 +16,9 @@ [Implied] $cacheSeconds=0: Lifetime in seconds of the document. If $cacheSeconds<0, cache is disabled. If $cacheSeconds==0, the document will be revalidated each time it is accessed. If $cacheSeconds>0, the document will be cashed and not revalidated against the server for this delay. [Implied] $cachePrivacy=0: 0=private, 1=normal (public), 2=forced public. When public, it allows a cashed document ($cacheSeconds>0) to be shared by several users. [Implied] $feedMode=false: Special RSS/ATOM feeds. When true, it sets $cachePrivacy to 0 (private), does not use the modification time of the script itself, and puts the date of the client's cache (or a old date from 1980) in the global variable $clientCacheDate. - [implied] $compression=false: Enable the compression and allows persistant connections (automatic detection of the capacities of the client). + [implied] $compression=false: Enable the compression and allows persistent connections (automatic detection of the capacities of the client). [implied] $session=false: To be turned on when sessions are used. Checks if the data contained in $_SESSION has been modified during the last generation the document. - Returns: True if the connection can be closed (e.g.: the client has already the lastest version), false if the new content has to be send to the client. + Returns: True if the connection can be closed (e.g.: the client has already the latest version), false if the new content has to be send to the client. Typical use: 1) //When ob_gzhandler succeeded $buffer=$buffer2; } - header('Content-Length: '.strlen($buffer)); //Allows persistant connections //rfc2616-sec14.html#sec14.13 + header('Content-Length: '.strlen($buffer)); //Allows persistent connections //rfc2616-sec14.html#sec14.13 return $buffer; } -- cgit v1.2.3