l.i.IResponse(Interface) : interface documentation

Part of libcloud.interface View Source View In Hierarchy

Known implementations: libcloud.base.Response

A response as provided by a given HTTP Client.
Attribute object The processed response object, e.g. via lxml or json
Attribute body Unparsed response body
Attribute status Response status code
Attribute headers Response headers
Attribute error Response error, None if no error.
Attribute connection Represents the IConnection for this response
Method parse_body Parse the response body (as XML, etc.)
Method parse_error Parse the error that is contained in the response body (as XML, etc.)
Method success Does the response indicate a successful request?
object =
The processed response object, e.g. via lxml or json
body =
Unparsed response body
status =
Response status code
headers =
Response headers
error =
Response error, None if no error.
connection =
Represents the IConnection for this response
def parse_body(): (source)
Parse the response body (as XML, etc.)
def parse_error(): (source)
Parse the error that is contained in the response body (as XML, etc.)
def success(): (source)
Does the response indicate a successful request?
API Documentation for libcloud, generated by pydoctor at 2012-07-15 18:42:22.