Re: [Zope] a redirect of an url in Python

2000-09-01 Thread Chris Withers
[EMAIL PROTECTED] 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

Re: [Zope] a redirect of an url in Python

2000-09-01 Thread Kapil Thangavelu
[EMAIL PROTECTED] wrote: Part 1.1Type: Plain Text (text/plain) in python you have to raise a redirect, search the lists for exact syntax something along the lines of raise Redirect "url" Kapil ___ Zope maillist - [EMAIL

Re: [Zope] a redirect of an url in Python

2000-09-01 Thread Bill Welch
Both this one line python method: raise 'Redirect', 'http://www.zope.org' and this DTML method dtml-raise type="Redirect" http://www.zope.org /dtml-raise work. P. S. the double quotes around Redirect in the DTML method are significant. With single quotes, it shows up as an error named