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

Method http_error_default

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

HTTPErrorClass · 0.90

Tested by

no test coverage detected