Re: Cannot get POST to work

2009-09-30 Thread Piet van Oostrum
> "[email protected]" (t) wrote: >t> Hi, >t> I'm trying to post data to a short test script in php I wrote. >t> The python code to do the post is >t> import httplib >t> #server address >t> conn = httplib.HTTPConnection("localhost") headers = {"Content-type": "application/x-www-form-urlenc

Re: Cannot get POST to work

2009-09-29 Thread Falcolas
On Sep 29, 10:24 am, "[email protected]" wrote: > Hi, > I'm trying to post data to a short test script in php I wrote. > The python code to do the post is > import httplib > > #server address > conn = httplib.HTTPConnection("localhost") > > #file location > conn.request("POST", "/programming/bot