Staging
v0.5.1
https://github.com/python/cpython
Revision 1742e401c4d76754e901e5cb2e4e9db86964999c authored by Benjamin Peterson on 30 November 2008, 22:15:29 UTC, committed by Benjamin Peterson on 30 November 2008, 22:15:29 UTC
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.
........
1 parent 45a6b9f
History
Tip revision: 1742e401c4d76754e901e5cb2e4e9db86964999c authored by Benjamin Peterson on 30 November 2008, 22:15:29 UTC
Merged revisions 67442 via svnmerge from
Tip revision: 1742e40
File Mode Size
Demo
Doc
Grammar
Include
Lib
Mac
Misc
Modules
Objects
PC
PCbuild
Parser
Python
Tools
.bzrignore -rw-r--r-- 673 bytes
.hgignore -rw-r--r-- 866 bytes
.hgtags -rw-r--r-- 3.3 KB
INTBENCH -rw-r--r-- 941 bytes
LICENSE -rw-r--r-- 13.5 KB
Makefile.pre.in -rw-r--r-- 37.5 KB
README -rw-r--r-- 7.1 KB
RELNOTES -rw-r--r-- 1.4 KB
configure -rwxr-xr-x 652.1 KB
configure.in -rw-r--r-- 101.3 KB
install-sh -rwxr-xr-x 7.0 KB
pyconfig.h.in -rw-r--r-- 28.6 KB
runtests.sh -rwxr-xr-x 2.1 KB
setup.py -rw-r--r-- 63.7 KB

README

back to top