K
knguyen
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()
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()