summaryrefslogtreecommitdiff
path: root/inc/httputils.php
diff options
context:
space:
mode:
authorElan Ruusamäe <glen@delfi.ee>2010-10-03 18:23:01 +0300
committerElan Ruusamäe <glen@delfi.ee>2010-10-07 21:02:29 +0300
commit23a96c41bfef563f8a77b5471c657aee8804fc7c (patch)
tree7b58fa164e1833389fc50ce6a17542872fd56e70 /inc/httputils.php
parentefdfac804e869e989b8346a0445d488c4d9e5d14 (diff)
downloadrpg-23a96c41bfef563f8a77b5471c657aee8804fc7c.tar.gz
rpg-23a96c41bfef563f8a77b5471c657aee8804fc7c.tar.bz2
- update urls
Diffstat (limited to 'inc/httputils.php')
-rw-r--r--inc/httputils.php4
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