[Zope] a redirect of an url in Python

Chris Withers chrisw@nipltd.com
Fri, 01 Sep 2000 10:44:47 +0100


dsergent@imexpert.com wrote:
> 
> I want to redirect my current url to another in Python. I've tried
> return REQUEST.get('url'), but It only writes the url on the screen.

Firstup, posting HTML mail to the list doesn't help anyone ;-)

That said, It sounds like what you want to do is end your python method
with:

return REQUEST.RESPONSE.redirect(REQUEST['url'])

HTH,

Chris