summaryrefslogtreecommitdiff
path: root/Python/pythonrun.c
diff options
context:
space:
mode:
authorR David Murray <rdmurray@bitdance.com>2015-03-22 15:18:23 -0400
committerR David Murray <rdmurray@bitdance.com>2015-03-22 15:18:23 -0400
commita6175059f84cecd9f82b48a761cdd82b56cefeb8 (patch)
tree29568f767fcdc5f7b3f5730dd2ad798bc0b6a31d /Python/pythonrun.c
parenta4b8131d9073d02b41e23ae2047fc23e9fa4a846 (diff)
downloadcpython-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