forked from GNUsocial/gnu-social
better header for not-modified message
darcs-hash:20081202042334-5ed1f-47957bc0ad54d0250a0638b4e6e5a200dac1d335.gz
This commit is contained in:
parent
fd7bc1f565
commit
cad6f78fe6
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user