better header for not-modified message

darcs-hash:20081202042334-5ed1f-47957bc0ad54d0250a0638b4e6e5a200dac1d335.gz
This commit is contained in:
Evan Prodromou 2008-12-01 23:23:34 -05:00
parent fd7bc1f565
commit cad6f78fe6

View File

@ -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);
}