Re: 404 OK ?
- From: "John Dunlop" <usenet+2004@xxxxxxxxxxxxxxxx>
- Date: 30 Apr 2006 06:21:48 -0700
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
.
- Prev by Date: Re: Strict types
- Next by Date: Re: Validating form input data
- Previous by thread: Re: 404 OK ?
- Next by thread: Re: Strict types
- Index(es):
Relevant Pages
|