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

Method http_error_407

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

Source from the content-addressed store, hash-verified

1222 handler_order = 490 # before Basic auth
1223
1224 def http_error_407(self, req, fp, code, msg, headers):
1225 host = req.host
1226 retry = self.http_error_auth_reqed('proxy-authenticate',
1227 host, req, headers)
1228 self.reset_retry_count()
1229 return retry
1230
1231class AbstractHTTPHandler(BaseHandler):
1232

Callers

nothing calls this directly

Calls 2

reset_retry_countMethod · 0.80
http_error_auth_reqedMethod · 0.45

Tested by

no test coverage detected