Index

ConnectionError

Network problems such as DNS failure and not connected.

HttpError

Thrown if the HTTP request returned an unsuccessful status code.

RequestException

Root exception.

TimeoutError

Thrown if a request times out.

TooManyRedirectsError

Thrown if specified number of maximum redirections exceeded.

get()

Given a Url String, returns GET Response content when success (200), otherwise returns status code.

try_get()

Like get(), but throws customizable exception on 404, and HttpError for others.