Staging
v0.5.1
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
python-mappings
Makefile -rw-r--r-- 1.7 KB
comparecodecs.py -rwxr-xr-x 1.4 KB
gencjkcodecs.py -rw-r--r-- 1.9 KB
gencodec.py -rw-r--r-- 12.0 KB
genwincodec.py -rw-r--r-- 1.7 KB
genwincodecs.bat -rw-r--r-- 201 bytes
listcodecs.py -rw-r--r-- 1021 bytes
makeunicodedata.py -rw-r--r-- 47.4 KB
mkstringprep.py -rw-r--r-- 10.0 KB

back to top