MCPcopy Index your code
hub / github.com/python/cpython / http_error_401

Method http_error_401

Lib/urllib/request.py:1026–1030  ·  view source on GitHub ↗
(self, req, fp, code, msg, headers)

Source from the content-addressed store, hash-verified

1024 auth_header = 'Authorization'
1025
1026 def http_error_401(self, req, fp, code, msg, headers):
1027 url = req.full_url
1028 response = self.http_error_auth_reqed('www-authenticate',
1029 url, req, headers)
1030 return response
1031
1032
1033class ProxyBasicAuthHandler(AbstractBasicAuthHandler, BaseHandler):

Callers

nothing calls this directly

Calls 1

http_error_auth_reqedMethod · 0.45

Tested by

no test coverage detected