Staging
v0.5.1
https://github.com/python/cpython
Revision b4b000f0022ed61fdd1dbf92929da61c06f3447c authored by R David Murray on 22 March 2015, 19:15:44 UTC, committed by R David Murray on 22 March 2015, 19:15:44 UTC
Some http servers will reject PUT, POST, and PATCH requests if they
do not have a Content-Length header.

Patch by James Rutherford.
1 parent 2936858
History
Tip revision: b4b000f0022ed61fdd1dbf92929da61c06f3447c authored by R David Murray on 22 March 2015, 19:15:44 UTC
#23539: Set Content-Length to 0 for PUT, POST, and PATCH if body is None.
Tip revision: b4b000f
File Mode Size
Demo
Doc
Grammar
Include
Lib
Mac
Misc
Modules
Objects
PC
PCbuild
Parser
Python
RISCOS
Tools
.bzrignore -rw-r--r-- 554 bytes
.gitignore -rw-r--r-- 594 bytes
.hgeol -rw-r--r-- 706 bytes
.hgignore -rw-r--r-- 804 bytes
.hgtags -rw-r--r-- 8.1 KB
LICENSE -rw-r--r-- 12.5 KB
Makefile.pre.in -rw-r--r-- 44.3 KB
README -rw-r--r-- 52.7 KB
config.guess -rwxr-xr-x 41.9 KB
config.sub -rwxr-xr-x 34.9 KB
configure -rwxr-xr-x 420.5 KB
configure.ac -rw-r--r-- 131.9 KB
install-sh -rwxr-xr-x 7.0 KB
pyconfig.h.in -rw-r--r-- 34.2 KB
setup.py -rw-r--r-- 95.4 KB

README

back to top