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

Method http_error_default

Lib/urllib/request.py:610–611  ·  view source on GitHub ↗
(self, req, fp, code, msg, hdrs)

Source from the content-addressed store, hash-verified

608
609class HTTPDefaultErrorHandler(BaseHandler):
610 def http_error_default(self, req, fp, code, msg, hdrs):
611 raise HTTPError(req.full_url, code, msg, hdrs, fp)
612
613class HTTPRedirectHandler(BaseHandler):
614 # maximum number of redirections to any single URL

Callers

nothing calls this directly

Calls 1

HTTPErrorClass · 0.90

Tested by

no test coverage detected