Home
last modified time | relevance | path

Searched refs:digest_auth_handler (Results 1 – 2 of 2) sorted by relevance

/third_party/python/Lib/test/
Dtest_urllib2_localnet.py254 def __init__(self, digest_auth_handler, *args, **kwargs): argument
257 self.digest_auth_handler = digest_auth_handler
269 if self.digest_auth_handler.handle_request(self):
338 self.digest_auth_handler = DigestAuthHandler()
339 self.digest_auth_handler.set_users({self.USER: self.PASSWD})
340 self.digest_auth_handler.set_realm(self.REALM)
343 return FakeProxyHandler(self.digest_auth_handler, *args, **kwargs)
362 self.digest_auth_handler.set_qop("auth")
368 self.digest_auth_handler.set_qop("auth")
376 self.digest_auth_handler.set_qop("auth")
[all …]
Dtest_urllib2.py1593 digest_auth_handler = urllib.request.HTTPDigestAuthHandler(None)
1596 opener.add_handler(digest_auth_handler)