[Zope] How do I mimic an HTTP post from a script

Ben Avery ben@thesite.org
Tue, 11 Feb 2003 13:59:55 +0000


hi Marc,

I'd recommend O'Reilly's Learning Python as an excellent beginners' 
book, if you haven't done any programming before.
If you have, I think you should have a look at Dive into Python, which 
is available free online, or downloadable in various formats:
http://diveintopython.org/

Ben

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.)
> 
> The "remote" post is currently of a fire-and-forget nature, but in the
> future might be changed to contain a response (success/failure=>post again).
> 
> 
> Cheers
> 
> Marc
> 
> PS: I'd be glad for recommendations of any good in depth "teaching" books on
> Python. I have the library references, but they are a bit brief for the
> un-initiated.
> 
> (a convert from PHP, where I knew how to do this)
> 
> 
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://mail.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists - 
>  http://mail.zope.org/mailman/listinfo/zope-announce
>  http://mail.zope.org/mailman/listinfo/zope-dev )
>