[Zope] How do I mimic an HTTP post from a script
Michael Fischer v. Mollard
mfvm@businessvillage.de
Tue, 11 Feb 2003 16:09:55 +0100
Marc Burgauer wrote:
>Hi
>
>I'm sure that this question has been answered before, but searching the
>archive for a couple of hours, I could not find it. Yes, I'm new to python.
>
>I am using Zope 2.4 on Solaris.
>
>I need to send the input from a HTML form to a remote server as an HTTP
>post, but I first need to validate the inputs and convert them into an
>XML-formatted string. I want to do this in a python script. (I'm fine doing
>the XML formatting.)
>
>
It would be better to use an external method since you can't import
urllib2 in a script without some configuration. See the examples at the
python library reference for urllib.
MfG
MFvM