HTTP Post ?

Chirayu Krishnappa thephoenix235 at gmx.net
Thu Jan 30 00:34:44 EST 2003


Hi,

Check out the ClientForm module at
http://wwwsearch.sourceforge.net/ClientForm/  It may be what you're
looking for.

Chirayu.

On Tue, 28 Jan 2003 14:30:38 +0100, "Shagshag13" <shagshag13 at yahoo.fr>
wrote:

>hello,
>
>i'm trying to simulate a http post with python. i've found the following in another post and it seems to work:
>
>import urllib
>params = {'param1': 'data1', 'param2': 'data2'}
>cparams = urllib.urlencode(params)
>fh = urllib.urlopen('http://localhost/cgi-bin/test.py', cparams)
>
>but i would like to understand how http post headers are built and how it's actually work, please do any of you have  pointers/links
>to relevant information on the subjet ?
>
>thanks in advance,
>
>s13.
>





More information about the Python-list mailing list