![]() |
Available news archives:
comp.lang.tcl
-
comp.lang.python
-
comp.security.firewalls
-
sci.crypt -
comp.lang.php -
comp.lang.javascript
|
|
comp.lang.python archivehttplib/HTTPS Post Problem
From: <michaelparkin@gmail.com>
Date: Mon Jul 11 2005 - 15:29:23 CEST
Hi,
Sorry to post what might seem like a trivial problem here, but its
I have a simple https client that uses httplib to post data to a web
When I post over http & https using curl the data is recieved by the
When I post using my python client the headers get there, but the body
My code is pretty standard and has the format:
httplib.HTTPSConnection.debuglevel = 1
...(some more headers)...
connection.endheaders()
response = connection.getresponse()
(some code has been removed for clarity)..
I can see in the debug messages the body getting sent, but nothing
I think I would understand whats going on better if I knew how Python
a) open the socket, send the header & body together or
I think the answer to this question solve my problem - can anyone help?
Thanks.
p.s. I'm using Python 2.3.3 [GCC 3.3.3 (SuseLinx)]
|