Lines Matching defs:HTTPError
21 OSError); for HTTP errors, raises an HTTPError, which can also be
102 from urllib.error import URLError, HTTPError, ContentTooShortError
643 raise HTTPError(req.full_url, code, msg, hdrs, fp)
659 perform the redirect. Otherwise, raise HTTPError if no-one
666 raise HTTPError(req.full_url, code, msg, headers, fp)
708 raise HTTPError(
738 raise HTTPError(req.full_url, code,
745 # with HTTPError.
1111 raise HTTPError(req.full_url, 401, "digest auth failed",
1790 except (HTTPError, URLError):
1986 raise HTTPError(url, errcode, errmsg, headers, None)
2187 # We are using newer HTTPError with older redirect_internal method
2191 raise HTTPError(newurl, errcode,