summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2008-12-01 23:23:34 -0500
committerEvan Prodromou <evan@controlyourself.ca>2008-12-01 23:23:34 -0500
commitcad6f78fe66e73665fe736cfe78d6633e1120ea7 (patch)
treee5db15c27f263b0a3b08cfc0a1a819cd9ac72099
parentfd7bc1f5653b59d9cb3116ea428b38074a5862bf (diff)
better header for not-modified message
darcs-hash:20081202042334-5ed1f-47957bc0ad54d0250a0638b4e6e5a200dac1d335.gz
-rw-r--r--lib/action.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/action.php b/lib/action.php
index 5e16c98a7..754bbdbae 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);
}