Staging
v0.8.1
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
Tip revision: 1742e401c4d76754e901e5cb2e4e9db86964999c authored by Benjamin Peterson on 30 November 2008, 22:15:29 UTC
Merged revisions 67442 via svnmerge from
Merged revisions 67442 via svnmerge from
Tip revision: 1742e40
File | Mode | Size |
---|---|---|
Python.asdl | -rw-r--r-- | 4.2 KB |
acceler.c | -rw-r--r-- | 2.8 KB |
asdl.py | -rw-r--r-- | 11.4 KB |
asdl_c.py | -rwxr-xr-x | 39.0 KB |
bitset.c | -rw-r--r-- | 977 bytes |
firstsets.c | -rw-r--r-- | 2.2 KB |
grammar.c | -rw-r--r-- | 5.4 KB |
grammar.mak | -rw-r--r-- | 1.3 KB |
grammar1.c | -rw-r--r-- | 1.0 KB |
intrcheck.c | -rw-r--r-- | 2.3 KB |
listnode.c | -rw-r--r-- | 983 bytes |
metagrammar.c | -rw-r--r-- | 2.2 KB |
myreadline.c | -rw-r--r-- | 5.2 KB |
node.c | -rw-r--r-- | 3.6 KB |
parser.c | -rw-r--r-- | 9.9 KB |
parser.h | -rw-r--r-- | 1.0 KB |
parsetok.c | -rw-r--r-- | 6.7 KB |
pgen.c | -rw-r--r-- | 14.7 KB |
pgenmain.c | -rw-r--r-- | 3.3 KB |
printgrammar.c | -rw-r--r-- | 2.5 KB |
spark.py | -rw-r--r-- | 26.5 KB |
tokenizer.c | -rw-r--r-- | 35.2 KB |
tokenizer.h | -rw-r--r-- | 2.6 KB |
tokenizer_pgen.c | -rw-r--r-- | 36 bytes |
Computing file changes ...