Classe de Gestion de l'entete HTTP
Cette classe reprend la classe de Hugo Haas (http://larve.net/2006/08/php-http-caching/) et lui ajoute quelques bricoles
Located in /Pxxo/Response.php (line 50)
var array Ages: max-age and s-maxage
allowed Cache Control Directives
allowed Content Directives
Array containing the list of Cache-Control directives, except max-age and s-maxage
Array containing the list of Cache-Control directives, except max-age and s-maxage
Returns the validator value of an entity tag
Format a date in RFC 1123 date format
Determines if an entity tag is weak
setCookie (RFC 2109 compatible)
Compares an etag with the resource's entity tag.
Set max-age and the Expires header value
Get the max-age or s-maxage cache control directive value
Determines whether the client has a fresh representation of the resource.
This function compares the If-Modified-Since and If-None-Match headers provided by the client to the values specified for this resource, and returns true if the resource has been modified or false if the client's version is current.
Send HTTP caching headers (Expires, Cache-Control, ETags and Last-Modified)
Expires and Cache-Control are sent as set.
ETag is sent if set. Last-Modified is sent if set or if ETag isn't set, defaulting to the current time. Indeed, at least you of the two needs to be present for the response to be cacheable.
Send HTTP caching headers (Expires, Cache-Control, ETags and Last-Modified), and returns a 304 if the client has a cached version.
This function returns a 304 if the client already has the latest version of the resource's representation. The PHP script will subsequently quit if $die is set to true.
Set/unset Cache-Control directive
Set/unset Content directive
Set max-age or s-maxage cache control directive value
Set value of the ETag header The string will be quoted automatically.
Set value of the Last-Modified header
Set value of the Last-Modified header using the last modification date of a file
Sets Location header and response code. Forces replacement of any prior redirects.
Set value of the ETag header to a weak value The string will be quoted automatically.
Documentation generated on Thu, 13 Mar 2008 22:03:22 +0100 by phpDocumentor 1.4.1