diff options
author | Michael Hamann <michael@content-space.de> | 2010-10-10 14:26:22 +0200 |
---|---|---|
committer | Michael Hamann <michael@content-space.de> | 2010-10-10 14:26:22 +0200 |
commit | 762b4c44c691f69d521413d7016314e7f547c102 (patch) | |
tree | 95ab294b1df2f8c7a5efb56762a0f284bec3754e /inc/httputils.php | |
parent | eae17177de8f3f3580af5ea66d126aee0f23227f (diff) | |
parent | 4ea48b361401e136dbfd3339af368ceeb5b27480 (diff) | |
download | rpg-762b4c44c691f69d521413d7016314e7f547c102.tar.gz rpg-762b4c44c691f69d521413d7016314e7f547c102.tar.bz2 |
Merge remote branch 'origin/master' into sitemap
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 |