Staging
v0.8.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
Raw File
Tip revision: 1742e401c4d76754e901e5cb2e4e9db86964999c authored by Benjamin Peterson on 30 November 2008, 22:15:29 UTC
Merged revisions 67442 via svnmerge from
Tip revision: 1742e40
.bzrignore
ยด.purify
autom4te.cache
config.log
config.cache
config.status
config.status.lineno
db_home
Makefile
buildno
python
build
Makefile.pre
platform
pyconfig.h
libpython*.a
python.exe
CP936.TXT
SHIFT_JISX0213.TXT
JOHAB.TXT
EUC-JP.TXT
NormalizationTest-3.2.0.txt
NormalizationTest.txt
BIG5.TXT
BIG5HKSCS-2004.TXT
CP949.TXT
EUC-CN.TXT
BIG5HKSCS.TXT
SHIFTJIS.TXT
EUC-KR.TXT
EUC-JISX0213.TXT
CP932.TXT
CP950.TXT
reflog.txt
gb-18030-2000.xml
tags
TAGS
.gdb_history
Doc/tools/sphinx
Doc/tools/jinja
Doc/tools/pygments
Doc/tools/docutils
Modules/Setup
Modules/Setup.config
Modules/Setup.local
Modules/config.c
Parser/pgen
Lib/lib2to3/Grammar*.pickle
Lib/lib2to3/PatternGrammar*.pickle
back to top