urllib.request.HTTPPasswordMgrWithPriorAuth.add_password()

HTTPPasswordMgrWithPriorAuth.add_password(realm, uri, user, passwd, is_authenticated=False)

realm, uri, user, passwd are as for HTTPPasswordMgr.add_password(). is_authenticated sets the initial value of the is_authenticated flag for the given URI or list of URIs. If is_authenticated is specified as True, realm is ignored.

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

Please login to continue.