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
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
_ctypes.vcproj -rw-r--r-- 13.1 KB
_ctypes_test.vcproj -rw-r--r-- 8.3 KB
_elementtree.vcproj -rw-r--r-- 11.1 KB
_hashlib.vcproj -rw-r--r-- 10.6 KB
_msi.vcproj -rw-r--r-- 8.8 KB
_multiprocessing.vcproj -rw-r--r-- 9.3 KB
_socket.vcproj -rw-r--r-- 8.8 KB
_sqlite3.vcproj -rw-r--r-- 10.7 KB
_ssl.vcproj -rw-r--r-- 10.6 KB
_testcapi.vcproj -rw-r--r-- 8.4 KB
_tkinter.vcproj -rw-r--r-- 9.3 KB
bdist_wininst.vcproj -rw-r--r-- 5.8 KB
build.bat -rw-r--r-- 488 bytes
build_env.bat -rw-r--r-- 25 bytes
build_pgo.bat -rw-r--r-- 1.1 KB
build_ssl.bat -rw-r--r-- 253 bytes
build_ssl.py -rw-r--r-- 9.2 KB
build_tkinter.py -rw-r--r-- 2.2 KB
bz2.vcproj -rw-r--r-- 11.9 KB
debug.vsprops -rw-r--r-- 310 bytes
env.bat -rw-r--r-- 163 bytes
field3.py -rw-r--r-- 974 bytes
idle.bat -rw-r--r-- 284 bytes
installer.bmp -rw-r--r-- 57.4 KB
kill_python.c -rw-r--r-- 5.5 KB
kill_python.vcproj -rw-r--r-- 4.5 KB
make_buildinfo.c -rw-r--r-- 2.9 KB
make_buildinfo.vcproj -rw-r--r-- 2.8 KB
make_versioninfo.vcproj -rw-r--r-- 6.8 KB
pcbuild.sln -rw-r--r-- 38.5 KB
pginstrument.vsprops -rw-r--r-- 921 bytes
pgupdate.vsprops -rw-r--r-- 379 bytes
pyd.vsprops -rw-r--r-- 606 bytes
pyd_d.vsprops -rw-r--r-- 833 bytes
pyexpat.vcproj -rw-r--r-- 10.0 KB
pyproject.vsprops -rw-r--r-- 2.3 KB
python.vcproj -rw-r--r-- 11.7 KB
pythoncore.vcproj -rw-r--r-- 33.0 KB
pythonw.vcproj -rw-r--r-- 11.3 KB
readme.txt -rw-r--r-- 14.6 KB
release.vsprops -rw-r--r-- 311 bytes
rmpyc.py -rw-r--r-- 598 bytes
rt.bat -rw-r--r-- 1.8 KB
select.vcproj -rw-r--r-- 9.0 KB
sqlite3.vcproj -rw-r--r-- 9.5 KB
unicodedata.vcproj -rw-r--r-- 8.6 KB
vs9to8.py -rw-r--r-- 1.5 KB
w9xpopen.vcproj -rw-r--r-- 10.0 KB
winsound.vcproj -rw-r--r-- 8.6 KB
x64.vsprops -rw-r--r-- 537 bytes

readme.txt

back to top