summaryrefslogtreecommitdiff
path: root/Python/Python-ast.c
diff options
context:
space:
mode:
authorR David Murray <rdmurray@bitdance.com>2015-04-16 16:36:18 -0400
committerR David Murray <rdmurray@bitdance.com>2015-04-16 16:36:18 -0400
commit4c7f995e805f4fddcf54b90f35ea30c7e26a4a95 (patch)
tree870ddf9b8e0d8f65dddb5f990c58d69968979d66 /Python/Python-ast.c
parent6297fecbd1fc534176d65a6a27c01b4667a6b417 (diff)
downloadcpython-git-4c7f995e805f4fddcf54b90f35ea30c7e26a4a95.tar.gz
#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 'Python/Python-ast.c')
0 files changed, 0 insertions, 0 deletions