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

Method http_error_407

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

reset_retry_countMethod · 0.80
http_error_auth_reqedMethod · 0.45

Tested by

no test coverage detected