[Zope] refferencing a url from a script
Dylan Reinhardt
zope at dylanreinhardt.com
Tue Dec 2 14:01:01 EST 2003
On Tue, 2003-12-02 at 10:35, Matthew Thorley wrote:
> Greetings again:
>
> I was wondering how you refference a url from a python script either as a
> redierect or as a way of POSTing data. That is to say in one instance I want
> the page the user is view to be redierected to some url and in the second
> instance I just want to POST some data something like url/post_method?TRUE=1.
----
if context.REQUEST.URL == whatever:
# do stuff
else:
# do different stuff
----
HTH,
Dylan
More information about the Zope
mailing list