/external/python/cpython2/Lib/ |
D | urllib2.py | 894 if req.get_header(self.auth_header, None) == auth: 896 req.add_unredirected_header(self.auth_header, auth) 904 auth_header = 'Authorization' variable in HTTPBasicAuthHandler 915 auth_header = 'Proxy-authorization' variable in ProxyBasicAuthHandler 965 def http_error_auth_reqed(self, auth_header, host, req, headers): argument 966 authreq = headers.get(auth_header, None) 988 if req.headers.get(self.auth_header, None) == auth_val: 990 req.add_unredirected_header(self.auth_header, auth_val) 1092 auth_header = 'Authorization' variable in HTTPDigestAuthHandler 1105 auth_header = 'Proxy-Authorization' variable in ProxyDigestAuthHandler
|
/external/python/httplib2/tests/ |
D | __init__.py | 611 auth_header = request.headers.get("authorization", "") 612 if not auth_header: 614 if " " not in auth_header: 618 scheme, data = auth_header.split(" ", 1)
|
/external/python/cpython3/Lib/urllib/ |
D | request.py | 1011 if req.get_header(self.auth_header, None) == auth: 1013 req.add_unredirected_header(self.auth_header, auth) 1046 auth_header = 'Authorization' variable in HTTPBasicAuthHandler 1057 auth_header = 'Proxy-authorization' variable in ProxyBasicAuthHandler 1097 def http_error_auth_reqed(self, auth_header, host, req, headers): argument 1098 authreq = headers.get(auth_header, None) 1123 if req.headers.get(self.auth_header, None) == auth_val: 1125 req.add_unredirected_header(self.auth_header, auth_val) 1227 auth_header = 'Authorization' variable in HTTPDigestAuthHandler 1240 auth_header = 'Proxy-Authorization' variable in ProxyDigestAuthHandler
|
/external/python/cpython2/Lib/test/ |
D | test_urllib2.py | 1229 def _test_basic_auth(self, opener, auth_handler, auth_header, argument 1250 self.assertFalse(http_handler.requests[0].has_header(auth_header)) 1253 self.assertEqual(http_handler.requests[1].get_header(auth_header), 1255 self.assertEqual(http_handler.requests[1].unredirected_hdrs[auth_header], 1263 self.assertFalse(http_handler.requests[0].has_header(auth_header))
|
/external/python/cpython3/Lib/test/ |
D | test_urllib2.py | 1608 def _test_basic_auth(self, opener, auth_handler, auth_header, argument 1629 self.assertFalse(http_handler.requests[0].has_header(auth_header)) 1633 self.assertEqual(http_handler.requests[1].get_header(auth_header), 1635 self.assertEqual(http_handler.requests[1].unredirected_hdrs[auth_header], 1643 self.assertFalse(http_handler.requests[0].has_header(auth_header))
|
/external/python/oauth2client/tests/ |
D | test_client.py | 1959 auth_header = 'Basic Y2xpZW50X2lkKzE6c2Vjexc_managerV0KzE=', 1962 authorization_header=auth_header, 1977 self.assertEqual(test_request['headers']['Authorization'], auth_header)
|
/external/python/cpython2/Misc/ |
D | HISTORY | 3834 auth_header. The earlier versions would fail at runtime.
|
/external/python/cpython3/Misc/ |
D | HISTORY | 21218 auth_header. The earlier versions would fail at runtime.
|