|
Posted by Dave on 10/31/35 11:22
John Dunlop (usenet+2004@john.dunlop.name) decided we needed to hear...
> Dave wrote:
>
> [re: HTTP Location]
>
> > A full url is only needed if you are redirecting to another server.
> > If you are staying on the same server, then you only need to specify
> > a path.
>
> sounds like you're confusing CGI headers with HTTP headers.
> headers() deals in HTTP, not CGI.
No I'm not confusing them, however I have learned since my post was
made that my answer does rely on the fact that many browsers relax
the standard for the HTTP Location header - so my answer is
technically incorrect for that reason.
The standard states an absolute uri is required for redirection,
but browsers relax this by allowing a relative uri and prepend
the most recently visited server to it.
--
Dave <dave@REMOVEbundook.com>
(Remove REMOVE for email address)
Navigation:
[Reply to this message]
|