tino at wildenhain.de
Wed Mar 18 13:21:00 CET 2009
gaeasiankom at gmail.com wrote:
> Hi !
> I'm new to Python. I'm having some difficulties to redirect the pages
> using python. Every time when I redirect, the URL changed accordingly.
> (Example : from http://localhost:9999 to http://localhost/hello.py?name='J')
> What's the Python way of implementing this ? Can anyone help me out on
> this ?
What did you try so far? Hint: the redirect is done via Location:
HTTP-Header. You can check all details in rfc2616, this is independend
from the language you would use. Everything else depends on the
framework you use.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 3241 bytes
Desc: S/MIME Cryptographic Signature
More information about the Python-list