W3C home > Mailing lists > Public > www-talk@w3.org > September to October 1995

Re: CGI scripts / Location header

From: Darren New <dnew@sgf.fv.com>
Date: Fri, 13 Oct 1995 13:59:47 +0100
To: jkillian@access.digex.net
Cc: www-talk@www0.cern.ch, Daniel DuBois <ddubois@rafiki.spyglass.com>
Message-Id: <Pine.3.89.9510131304.G2683-0100000@sgf.fv.com>
> 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.
Received on Friday, 13 October 1995 14:01:38 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:32:58 UTC