CGI Redirect to another page
and-google at doxdesk.com
Wed Sep 24 13:38:42 CEST 2003
Tim Howarth <tim at worthy.demon.co.uk> wrote:
> print "Location: http://abcxyz/index.html"
> AFAIUI it simply sends a redirect header.
Yep; however, if you include a relative URI with no hashpart:
print 'Location: /index.html'
Then the server should send that page to the browser directly, without
sending a redirect back to the browser. This may be preferable in
(The second print is needed to end the CGI response headers.)
Full spec here:
really terrible idea.)
mailto:and at doxdesk.com
More information about the Python-list