diff options
author | R David Murray <rdmurray@bitdance.com> | 2015-03-22 19:15:44 (GMT) |
---|---|---|
committer | R David Murray <rdmurray@bitdance.com> | 2015-03-22 19:15:44 (GMT) |
commit | b4b000f0022ed61fdd1dbf92929da61c06f3447c (patch) | |
tree | 0082be08e63c032d00ba49f235471b0c277bf061 /Lib/imaplib.py | |
parent | 29368584d295aed3ec198c158f6503f370492c03 (diff) | |
download | cpython-b4b000f0022ed61fdd1dbf92929da61c06f3447c.zip cpython-b4b000f0022ed61fdd1dbf92929da61c06f3447c.tar.gz cpython-b4b000f0022ed61fdd1dbf92929da61c06f3447c.tar.bz2 |
#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.
Diffstat (limited to 'Lib/imaplib.py')
0 files changed, 0 insertions, 0 deletions