Home | History | Annotate | Download | only in python2.7

Lines Matching refs:HTTPError

21 IOError); for HTTP errors, raises an HTTPError, which can also be
47 HTTPError -- Also a valid HTTP response, so you can treat an HTTP error
150 class HTTPError(URLError, addinfourl):
161 # object. In some cases, the HTTPError may not have a valid
170 # since URLError specifies a .reason attribute, HTTPError should also
531 raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
547 perform the redirect. Otherwise, raise HTTPError if no-one
569 raise HTTPError(req.get_full_url(), code, msg, headers, fp)
600 raise HTTPError(newurl, code,
618 raise HTTPError(req.get_full_url(), code,
625 # with HTTPError.
859 raise HTTPError(req.get_full_url(), 401, "basic auth failed",
963 raise HTTPError(req.get_full_url(), 401, "digest auth failed",