Help with a HTTP GET request

Stephen Hansen apt.shansen at gmail.com
Tue May 12 22:32:55 EDT 2009


> I am trying to build a HTTP request that looks like:
> http://localhost/common/foxisapi.dll/tmsmail.x2.isapi
> ?<PROCESS%20sync=''%20schema=''%20class='replicateApplication.getChanges'%20/>
> Works in a browser.
>
> and now I am attempting to use HTTPConnection
> >>> conn = httplib.HTTPConnection("localhost")
> >>> print x
> %3CPROCESS%20sync%3D%27%27%20schema%3D%27%27%20class%3D
> %27replicateApplication.getChanges%27%20/%3E


At first glance, you left off most of the request :) Namely "
/common/foxisapi.dll/tmsmail.x2.isapi<http://localhost/common/foxisapi.dll/tmsmail.x2.isapi>
?"

And just included the encoded body.

--S
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20090512/d90f196e/attachment.html>


More information about the Python-list mailing list