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

Patch by James Rutherford, with additional cleaning up of the
'request' documentation by me.
1 parent 75ed90a
History
Tip revision: beed8402ca2b44681f939238c8ea02deeb8a06a2 authored by R David Murray on 22 March 2015, 19:18:23 UTC
#23539: Set Content-Length to 0 for PUT, POST, and PATCH if body is None.
Tip revision: beed840
File Mode Size
Doc
Grammar
Include
Lib
Mac
Misc
Modules
Objects
PC
PCbuild
Parser
Python
Tools
.bzrignore -rw-r--r-- 584 bytes
.gitignore -rw-r--r-- 971 bytes
.hgeol -rw-r--r-- 800 bytes
.hgignore -rw-r--r-- 1.3 KB
.hgtags -rw-r--r-- 7.0 KB
.hgtouch -rw-r--r-- 1.2 KB
LICENSE -rw-r--r-- 12.5 KB
Makefile.pre.in -rw-r--r-- 54.1 KB
README -rw-r--r-- 6.6 KB
config.guess -rwxr-xr-x 41.9 KB
config.sub -rwxr-xr-x 34.9 KB
configure -rwxr-xr-x 440.4 KB
configure.ac -rw-r--r-- 138.8 KB
install-sh -rwxr-xr-x 7.0 KB
pyconfig.h.in -rw-r--r-- 40.2 KB
setup.py -rw-r--r-- 95.2 KB

README

back to top