summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorot <ot@localhost>2007-09-11 01:49:17 +0000
committerot <ot@localhost>2007-09-11 01:49:17 +0000
commit9b7e8835ce624f5dcc99b0cbabec5da41e0bcd23 (patch)
tree6b79c25118b39c5353e93f53d6c2d95d36d641c5
parent23cb979c602284206b995c99c8098d936ee465e1 (diff)
downloadmarkup-validator-9b7e8835ce624f5dcc99b0cbabec5da41e0bcd23.zip
markup-validator-9b7e8835ce624f5dcc99b0cbabec5da41e0bcd23.tar.gz
markup-validator-9b7e8835ce624f5dcc99b0cbabec5da41e0bcd23.tar.bz2
HTTP status code sent for no-referer response to /check/referer (ab)used 412 precondition
failed, when there was actually no client precondition set. Using 403 instead, consistent with what we do on CSS validator, and probably better understood by bots responsible for this traffic than 412.
-rw-r--r--htdocs/no_referer.asis3
1 files changed, 1 insertions, 2 deletions
diff --git a/htdocs/no_referer.asis b/htdocs/no_referer.asis
index 71c4d63..2cb1f55 100644
--- a/htdocs/no_referer.asis
+++ b/htdocs/no_referer.asis
@@ -1,6 +1,5 @@
-Status: 412 Precondition Failed
+Status: 403 Forbidden
Content-type: text/html
-Retry-After: 86400
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">