Redirecting broswers in Py
flognat at flognat.myip.org
Wed Jul 25 23:21:12 CEST 2001
First of all, a hint.. you can use """ or ''' or ' to surround
strings, so you could do:
Hmm reading this example you seem to be missing a ; between refresh
and content, could be a 'news' bugg.
Are you only sending this answer?? as reply? You know that you need to
send status back also with headers and so on, like
HTTP/1.0 200 ok
[HTML containting your redirection]
An alternative could be to send a "HTTP/1.0 302 Redirect" answer to
the browser, including as header the location to move to.
/ Adonis Vargas <deltapigz at telocity.com> wrote:
| the script accepts the connection then processes information once that
| is done i want to be able to send the broswer to X page. i have found
| something and used it in the line below:
| but i think im going at this completely wrong.
| any help would greatly be appreciated.
More information about the Python-list