Re: Page Relocate

Ryan Jean wrote:

> 2. I also saw that if you don't include a 300 number, it defaults to temp.
> True?

If you send a Location: header without an appropriate 30x status code, 
  in particularly if you use the success, 200, code, the browser will 
typically treat it as a redirect that was resolved in the server and 
update the address bar and the base for relative URLs, whilst displaying 
the content part of the response.

HTTP/1.0 and latter servers can never give a response without some 
status code.

I think the CGI interface changes the status to 302 if you use Location 
without Status, but that is an issue local to the web server.  Actually, 
if you give a Location without Status and the Location has no domain 
part, the server will normally process the redirect internally and 
return status 200, with the redirected content, and the fully expanded 
new Location value.

-- 
David Woolley
Emails are not formal business letters, whatever businesses may want.
RFC1855 says there should be an address here, but, in a world of spam,
that is no longer good advice, as archive address hiding may not work.

Received on Friday, 29 August 2008 08:17:52 UTC