diff options
author | R David Murray <rdmurray@bitdance.com> | 2015-03-22 15:18:23 -0400 |
---|---|---|
committer | R David Murray <rdmurray@bitdance.com> | 2015-03-22 15:18:23 -0400 |
commit | a6175059f84cecd9f82b48a761cdd82b56cefeb8 (patch) | |
tree | 29568f767fcdc5f7b3f5730dd2ad798bc0b6a31d /Python/pythonrun.c | |
parent | a4b8131d9073d02b41e23ae2047fc23e9fa4a846 (diff) | |
download | cpython-a6175059f84cecd9f82b48a761cdd82b56cefeb8.tar.gz |
#23539: Set Content-Length to 0 for PUT, POST, and PATCH if body is None.
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.
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions