[Tutor] Http Redirect

Peter Romfeld peter.romfeld.hk at gmail.com
Fri Jun 27 11:24:01 CEST 2014


I am not using django, i will use:

from urllib2 import HTTPRedirectHandler

i did not test it yet

> hi,
> i want to make a http-redirect with falconframework. just put it into
> response HTML header?
> with cherrypy i had 'raise cherrypy.HTTPRedirect(url)
> i know that i can do that also with HTML:
> <head>
>     <meta http-equiv="refresh" content="0; url=http://example.com/" />
> </head>
> i think with django you can do the redirect directly in urls.
> with falconframework i have similiar urls

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20140627/c8ef64d1/attachment.html>

More information about the Tutor mailing list