diff options
author | Andreas Gohr <andi@splitbrain.org> | 2010-10-27 20:53:59 +0200 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2010-10-27 20:53:59 +0200 |
commit | 55b3c9e8ad80fc80ec9ecaac33474e186cb88ee8 (patch) | |
tree | 1bf1359fee6044a704ac8465753e3c147d61e6e3 /inc/httputils.php | |
parent | e8b9cf5ae263f3b97aaa389dddd9e7458cc0894c (diff) | |
parent | baef77a2b52933a6dd7caf3f641ff5ce6e6164f3 (diff) | |
download | rpg-55b3c9e8ad80fc80ec9ecaac33474e186cb88ee8.tar.gz rpg-55b3c9e8ad80fc80ec9ecaac33474e186cb88ee8.tar.bz2 |
Merge branch 'master' into stable
Diffstat (limited to 'inc/httputils.php')
-rw-r--r-- | inc/httputils.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/inc/httputils.php b/inc/httputils.php index 324a730b9..8da42e3b7 100644 --- a/inc/httputils.php +++ b/inc/httputils.php @@ -14,13 +14,13 @@ define('HTTP_CHUNK_SIZE',16*1024); * Checks and sets HTTP headers for conditional HTTP requests * * @author Simon Willison <swillison@gmail.com> - * @link http://simon.incutio.com/archive/2003/04/23/conditionalGet + * @link http://simonwillison.net/2003/Apr/23/conditionalGet/ * @param timestamp $timestamp lastmodified time of the cache file * @returns void or exits with previously header() commands executed */ function http_conditionalRequest($timestamp){ // A PHP implementation of conditional get, see - // http://fishbowl.pastiche.org/archives/001132.html + // http://fishbowl.pastiche.org/2002/10/21/http_conditional_get_for_rss_hackers/ $last_modified = substr(gmdate('r', $timestamp), 0, -5).'GMT'; $etag = '"'.md5($last_modified).'"'; // Send the headers |