MCPcopy Index your code
hub / github.com/RustPython/RustPython / http_error_401

Method http_error_401

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

http_error_auth_reqedMethod · 0.45

Tested by

no test coverage detected