summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS
diff options
context:
space:
mode:
authorR David Murray <rdmurray@bitdance.com>2015-03-22 19:19:01 (GMT)
committerR David Murray <rdmurray@bitdance.com>2015-03-22 19:19:01 (GMT)
commit0a0d20edfb19934cd3929d6c115ba31c00744a24 (patch)
tree3d94aed8ac2578a62e934b862dad95f08acc26eb /Misc/NEWS
parent5d06c74f41a976cd042bfbb52f2f6762a44e1e26 (diff)
parentbeed8402ca2b44681f939238c8ea02deeb8a06a2 (diff)
downloadcpython-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/NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 072c874..d405a05 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -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.