Httplib request method

knguyen at megisto.com knguyen at megisto.com
Tue Mar 22 15:56:42 EST 2005


Hi,

For some reason, httplib request() method splits the request packet
into two packets, the first packet contains only HTTP headers, the body
in the second packet. The first packet size is way below the MTU size.
Is there a way I can send everything in one packet? Below is a piece of
my code:

self.conn.request(method, url, msg, headers)
response = self.conn.getresponse()
data = response.read()




More information about the Python-list mailing list