The http module wraps the underlying raw HTTP request module (httplib2 currently) to separate the job of exposing the API from the job of dealing with lower-level interfacing with the HTTP client in use today.
A wrapper for (currently) httplib2. Abstracts away things like path building, return value parsing, etc., so the api module code stays clean and easy to read/use.
Returns the JSON-decoded Python representation of ‘content’.
|Parameters:||content (json) – A Python JSON object.|
Send an HTTP request to the REST API.
An error response from the API server. This should be an HTTP error of some kind (404, 500, etc).
Denotes a failure to communicate with the REST API