urllib.request.HTTPPasswordMgrWithPriorAuth

class urllib.request.HTTPPasswordMgrWithPriorAuth

A variant of HTTPPasswordMgrWithDefaultRealm that also has a database of uri -> is_authenticated mappings. Can be used by a BasicAuth handler to determine when to send authentication credentials immediately instead of waiting for a 401 response first.

New in version 3.5.

doc_python
2016-10-07 17:46:55
Comments
Leave a Comment

Please login to continue.