cpython/Lib/http
Benjamin Peterson 1742e401c4 Merged revisions 67442 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r67442 | jeremy.hylton | 2008-11-28 19:09:35 -0600 (Fri, 28 Nov 2008) | 18 lines

  Send HTTP headers and message body in a single send() call.

  This change addresses part of issue 4336.

  Change endheaders() to take an optional message_body argument
  that is sent along with the headers.  Change xmlrpclib and
  httplib's other methods to use this new interface.

  It is more efficient to make a single send() call, which should
  get the entire client request into one packet (assuming it is
  smaller than the MTU) and will avoid the long pause for delayed
  ack following timeout.

  Also:
  - Add a comment about the buffer size for makefile().
  - Extract _set_content_length() method and fix whitespace issues there.
........
2008-11-30 22:15:29 +00:00
..
__init__.py Create http package. #2883. 2008-05-26 16:32:26 +00:00
client.py Merged revisions 67442 via svnmerge from 2008-11-30 22:15:29 +00:00
cookiejar.py #2834: Change re module semantics, so that str and bytes mixing is forbidden, 2008-08-19 17:56:33 +00:00
cookies.py Merged revisions 66262 via svnmerge from 2008-09-06 19:37:35 +00:00
server.py Issue3113: tests for CGIHTTPRequestHandler failed on windows: 2008-06-18 22:19:22 +00:00