Re: 404 OK ?



wd:

header("HTTP/1.0 404 Not Found");

HTTP/1.x 404 OK

According to RFC2616 the x must be a digit.

The 'OK' (called a reason phrase) is for human consumption. Your
browser would still take this as a 404. RFC2616 section 6.1.1:

http://www.ietf.org/rfc/rfc2616.txt

In the status line you wrote, your HTTP version is 1.0, but the
headers your server sends are only defined under 1.1. What happens if
you change your status line to read:

HTTP/1.1 404 Not Found

--
Jock

.



Relevant Pages

  • Re: Return statement and whitespace +
    ... Dr J R Stockton wrote: ... browser documentation as it's outside the agreed common ... Returns a string representation that contains one digit before the significand's decimal point, a decimal point, and fractionDigits after it. ... According to JScript documentation, I am not sure how to prove that that is technically incorrect. ...
    (comp.lang.javascript)
  • Re: Custom gif for "Hit counters"
    ... It's working for me, try refreshing your browser. ... Also, the image may not be quite divisible by 10, because I'm seeing part of the next digit to the right. ...
    (microsoft.public.frontpage.client)
  • Re: Problem figuring out a date
    ... The new version of firefox is storing their expire date in this 10 digit ... and according to the information in the browser this should be the date: ... tried IsDate and Format, but get errors for wrong value. ...
    (microsoft.public.vb.general.discussion)