Staging: this is not the live site, pydocs.org.
Internet Protocols and Support
Raised when HTTP error occurs, but also acts like non-error return
Members of HTTPError
c
- code
- An HTTP status code as defined in RFC 2616.
f
- fp
- A file-like object where the HTTP error body can be read from.
h
- headers
- The HTTP response headers for the HTTP request that caused the HTTPError.
r
- reason
- This is usually a string explaining the reason for this error.
u
- url
- Contains the request URL.