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
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.