The HTTPConnection.request method takes an optional "body" argument, useful
for POST requests. When I tried to use it, the server I was talking to came
back with an empty reply. I was finally able to get the request accepted
using a sequence of putheader calls to send the Content-Type header as well
as Content-Length. I don't know whether Content-Type is required by the
HTTP spec, but at least one server calls for it.
Can anyone offer a more authoritative answer as to whether the request
method should be sending the Content-Type header?
Thanks,
--
Don Dwiggins
Advanced MP Technology
dw...@advancedmp.net
Try the cvs repository....
http://cvs.sourceforge.net/cgi-bin/cvsweb.cgi/python/dist/src/?cvsroot=python
Hope that helps.
-Dustin Boswell ( bos...@caltech.edu )