Httplib request method

Discussion in 'Python' started by knguyen@megisto.com, Mar 22, 2005.

  1. Guest

    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()
     
    , Mar 22, 2005
    #1
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Brian Birtle
    Replies:
    2
    Views:
    2,580
    John Saunders
    Oct 16, 2003
  2. John J. Lee

    Re: How to upload a file with httplib?

    John J. Lee, Jun 27, 2003, in forum: Python
    Replies:
    1
    Views:
    2,442
  3. hitectahir
    Replies:
    0
    Views:
    447
    hitectahir
    Jul 1, 2003
  4. Bobbie
    Replies:
    2
    Views:
    870
    Jordan Krushen
    Jul 21, 2003
  5. Rich
    Replies:
    3
    Views:
    462
  6. berklee just berklee

    httplib usage for images

    berklee just berklee, Aug 19, 2003, in forum: Python
    Replies:
    0
    Views:
    320
    berklee just berklee
    Aug 19, 2003
  7. Replies:
    1
    Views:
    485
  8. Kyung won Cheon
    Replies:
    0
    Views:
    386
    Kyung won Cheon
    Nov 21, 2008
Loading...