summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorR David Murray <rdmurray@bitdance.com>2015-04-16 20:36:18 (GMT)
committerR David Murray <rdmurray@bitdance.com>2015-04-16 20:36:18 (GMT)
commit4c7f995e805f4fddcf54b90f35ea30c7e26a4a95 (patch)
tree870ddf9b8e0d8f65dddb5f990c58d69968979d66 /Misc
parent6297fecbd1fc534176d65a6a27c01b4667a6b417 (diff)
downloadcpython-4c7f995e805f4fddcf54b90f35ea30c7e26a4a95.zip
cpython-4c7f995e805f4fddcf54b90f35ea30c7e26a4a95.tar.gz
cpython-4c7f995e805f4fddcf54b90f35ea30c7e26a4a95.tar.bz2
#7159: generalize urllib prior auth support.
This fix is a superset of the functionality introduced by the issue #19494 enhancement, and supersedes that fix. Instead of a new handler, we have a new password manager that tracks whether we should send the auth for a given uri. This allows us to say "always send", satisfying #19494, or track that we've succeeded in auth and send the creds right away on every *subsequent* request. The support for using the password manager is added to AbstractBasicAuth, which means the proxy handler also now can handle prior auth if passed the new password manager. Patch by Akshit Khurana, docs mostly by me.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/ACKS1
-rw-r--r--Misc/NEWS4
2 files changed, 5 insertions, 0 deletions
diff --git a/Misc/ACKS b/Misc/ACKS
index 2ebaa9b..1641808 100644
--- a/Misc/ACKS
+++ b/Misc/ACKS
@@ -722,6 +722,7 @@ Magnus Kessler
Lawrence Kesteloot
Vivek Khera
Dhiru Kholia
+Akshit Khurana
Mads Kiilerich
Jason Killen
Jan Kim
diff --git a/Misc/NEWS b/Misc/NEWS
index b8d0c2e..c4a35b9 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -37,6 +37,10 @@ Core and Builtins
Library
-------
+- Issue #7159: urllib.request now supports sending auth credentials
+ automatically after the first 401. This enhancement is a superset of the
+ enhancement from issue #19494 and supersedes that change.
+
- Issue #23703: Fix a regression in urljoin() introduced in 901e4e52b20a.
Patch by Demian Brecht.