From: Evan Prodromou Date: Tue, 2 Dec 2008 04:23:34 +0000 (-0500) Subject: better header for not-modified message X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=cad6f78fe66e73665fe736cfe78d6633e1120ea7;p=quix0rs-gnu-social.git better header for not-modified message darcs-hash:20081202042334-5ed1f-47957bc0ad54d0250a0638b4e6e5a200dac1d335.gz --- diff --git a/lib/action.php b/lib/action.php index 5e16c98a7e..754bbdbae8 100644 --- a/lib/action.php +++ b/lib/action.php @@ -69,7 +69,7 @@ class Action { // lawsuit if ($if_modified_since) { $ims = strtotime($if_modified_since); if ($lm <= $ims) { - header('304 Not Modified'); + header('HTTP/1.1 304 Not Modified'); # Better way to do this? exit(0); }