Re: HTTPRedirect not altering URL

Lukas Schörghuber <[email protected]>
Newsgroups gmane.comp.python.cherrypy
Message-ID <[email protected]>
I have tested it with Firefox on Fedora 23 and Windows 7 as well as with
Chrome. I am using jQuery Mobile. Is this a possible source for the issues?


On 15/06/16 19:11, Tim Roberts wrote:
> Lukas Schörghuber wrote:
>> I am using the statement /raise cherrypy.HTTPRedirect("/");/ in order
>> to perform a HTTP redirect. However, there is the issue that the path
>> in the browser is not changed. For example when I perform a redirect
>> from //onLogin/ to the index page /// the URL remains
>> /http://127.0.0.1:8080/onLogin/. Is there any way to change the URL
>> using /raise HTTPRedirect()/?
> What browser are you testing?  HTTPRedirect defaults to a 302 or 303
> redirect, which changes the address bar in the modern browsers.
>

-- 
You received this message because you are subscribed to the Google Groups "cherrypy-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cherrypy-users+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/[email protected]
To post to this group, send email to cherrypy-users-/JYPxA39Uh5TLH3MbocFF+G/[email protected]
Visit this group at https://groups.google.com/group/cherrypy-users.
For more options, visit https://groups.google.com/d/optout.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.