summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2016-09-09 23:43:48 (GMT)
committerRaymond Hettinger <python@rcn.com>2016-09-09 23:43:48 (GMT)
commitae9e5f032d05377ec0aef04947b449a9a0d7a3b3 (patch)
treef90fcb9bac9d34e068da12bb1ca36ebe53c0ef12 /Misc
parentc87ae806abdf79dd5d000aaec47596122a93b29b (diff)
downloadcpython-ae9e5f032d05377ec0aef04947b449a9a0d7a3b3.zip
cpython-ae9e5f032d05377ec0aef04947b449a9a0d7a3b3.tar.gz
cpython-ae9e5f032d05377ec0aef04947b449a9a0d7a3b3.tar.bz2
Issue #22450: Use "Accept: */*" in the default headers for urllib.request
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index aeb38a1..0b13685 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -70,6 +70,10 @@ Library
- Issue #27445: Don't pass str(_charset) to MIMEText.set_payload().
Patch by Claude Paroz.
+- Issue #22450: urllib now includes an "Accept: */*" header among the
+ default headers. This makes the results of REST API requests more
+ consistent and predictable especially when proxy servers are involved.
+
- lib2to3.pgen3.driver.load_grammar() now creates a stable cache file
between runs given the same Grammar.txt input regardless of the hash
randomization setting.