]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
better header for not-modified message
authorEvan Prodromou <evan@controlyourself.ca>
Tue, 2 Dec 2008 04:23:34 +0000 (23:23 -0500)
committerEvan Prodromou <evan@controlyourself.ca>
Tue, 2 Dec 2008 04:23:34 +0000 (23:23 -0500)
darcs-hash:20081202042334-5ed1f-47957bc0ad54d0250a0638b4e6e5a200dac1d335.gz

lib/action.php

index 5e16c98a7e1ce90008c436ec889fa2a54c518d87..754bbdbae8982d5d9ded155b78dc848f1964013c 100644 (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);
                                }