diff options
author | R David Murray <rdmurray@bitdance.com> | 2015-03-22 19:19:01 (GMT) |
---|---|---|
committer | R David Murray <rdmurray@bitdance.com> | 2015-03-22 19:19:01 (GMT) |
commit | 0a0d20edfb19934cd3929d6c115ba31c00744a24 (patch) | |
tree | 3d94aed8ac2578a62e934b862dad95f08acc26eb /Misc/NEWS | |
parent | 5d06c74f41a976cd042bfbb52f2f6762a44e1e26 (diff) | |
parent | beed8402ca2b44681f939238c8ea02deeb8a06a2 (diff) | |
download | cpython-0a0d20edfb19934cd3929d6c115ba31c00744a24.zip cpython-0a0d20edfb19934cd3929d6c115ba31c00744a24.tar.gz cpython-0a0d20edfb19934cd3929d6c115ba31c00744a24.tar.bz2 |
Merge: #23539: Set Content-Length to 0 for PUT, POST, and PATCH if body is None.
Diffstat (limited to 'Misc/NEWS')
-rw-r--r-- | Misc/NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -23,6 +23,10 @@ Core and Builtins Library ------- +- Issue #23539: If body is None, http.client.HTTPConnection.request now sets + Content-Length to 0 for PUT, POST, and PATCH headers to avoid 411 errors from + some web servers. + - Issue #22351: The nntplib.NNTP constructor no longer leaves the connection and socket open until the garbage collector cleans them up. Patch by Martin Panter. |