• Benjamin Peterson's avatar
    Merged revisions 67442 via svnmerge from · 1742e401
    Benjamin Peterson yazdı
    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.
    ........
    1742e401
Adı
Son kayıt (commit)
Son güncelleme
Demo Loading commit data...
Doc Loading commit data...
Grammar Loading commit data...
Include Loading commit data...
Lib Loading commit data...
Mac Loading commit data...
Misc Loading commit data...
Modules Loading commit data...
Objects Loading commit data...
PC Loading commit data...
PCbuild Loading commit data...
Parser Loading commit data...
Python Loading commit data...
Tools Loading commit data...
.bzrignore Loading commit data...
.hgignore Loading commit data...
.hgtags Loading commit data...
INTBENCH Loading commit data...
LICENSE Loading commit data...
Makefile.pre.in Loading commit data...
README Loading commit data...
RELNOTES Loading commit data...
configure Loading commit data...
configure.in Loading commit data...
install-sh Loading commit data...
pyconfig.h.in Loading commit data...
runtests.sh Loading commit data...
setup.py Loading commit data...