httplib.py problem

Bob Lub lorenb2 at bezeqint.net
Wed Apr 14 05:08:42 EDT 2004


hello all,

while sending POST request using httplib.httpConnection class,
 i've noticed that the library sends my request in TWO packets,
 one for the http headers and the second for the post data
(which is only 25 bytes long).

direct consequence is slower connections and wasted bandwidth
(it makes the http server to send an HTTP 100 continue message, too).

how can i enforce the library to send everything in one packet ?

thanks
B
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20040414/584ba025/attachment.html>


More information about the Python-list mailing list