[9160] in www-talk@info.cern.ch

home help back first fref pref prev next nref lref last post

Re: CGI scripts / Location header

daemon@ATHENA.MIT.EDU (Darren New)
Fri Oct 13 14:03:25 1995

Date: Fri, 13 Oct 1995 13:59:47 +0100
From: Darren New <dnew@sgf.fv.com>
To: jkillian@access.digex.net
Cc: www-talk@www0.cern.ch, Daniel DuBois <ddubois@rafiki.spyglass.com>
In-Reply-To: <199510131632.MAA11977@access5.digex.net>
Resent-From: www-talk@w3.org

> One thing that's being lost here is that the response from the CGI 
> program and the GET requests are separate operations by the browser.  

Not the way the problem was stated.

> Your questions assumes (or implies) that it is treated as a "single" 
> operation, of which you have total control.  You don't!  Specifying the 
> Location header merely instructed the server to return a redirect 
> response.

Incorrect. This is only true if the Location: header has a URL after it. 
If it has a local file after it, the server delivers the file without 
issuing a redirect. Read the spec.

Of course, if you *are* redirecting to a different URL, then everything 
you've said applies.


home help back first fref pref prev next nref lref last post