Searched refs:auth_header (Results 1 – 2 of 2) sorted by relevance
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
D | urllib2.py | 869 if req.headers.get(self.auth_header, None) == auth: 871 req.add_unredirected_header(self.auth_header, auth) 879 auth_header = 'Authorization' variable in HTTPBasicAuthHandler 891 auth_header = 'Proxy-authorization' variable in ProxyBasicAuthHandler 942 def http_error_auth_reqed(self, auth_header, host, req, headers): argument 943 authreq = headers.get(auth_header, None) 965 if req.headers.get(self.auth_header, None) == auth_val: 967 req.add_unredirected_header(self.auth_header, auth_val) 1066 auth_header = 'Authorization' variable in HTTPDigestAuthHandler 1079 auth_header = 'Proxy-Authorization' variable in ProxyDigestAuthHandler
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
D | test_urllib2.py | 1173 def _test_basic_auth(self, opener, auth_handler, auth_header, argument 1194 self.assertFalse(http_handler.requests[0].has_header(auth_header)) 1197 self.assertEqual(http_handler.requests[1].get_header(auth_header), 1199 self.assertEqual(http_handler.requests[1].unredirected_hdrs[auth_header], 1207 self.assertFalse(http_handler.requests[0].has_header(auth_header))
|