l.b.Response(object) : class documentation

Part of libcloud.base View Source View In Hierarchy

Known subclasses: libcloud.drivers.brightbox.BrightboxResponse, libcloud.drivers.cloudsigma.CloudSigmaResponse, libcloud.drivers.dreamhost.DreamhostResponse, libcloud.drivers.ec2.EC2Response, libcloud.drivers.ecp.ECPResponse, libcloud.drivers.elastichosts.ElasticHostsResponse, libcloud.drivers.gogrid.GoGridResponse, libcloud.drivers.ibm_sbc.IBMResponse, libcloud.drivers.linode.LinodeResponse, libcloud.drivers.opennebula.OpenNebulaResponse, libcloud.drivers.rackspace.RackspaceResponse, libcloud.drivers.rimuhosting.RimuHostingResponse, libcloud.drivers.slicehost.SlicehostResponse, libcloud.drivers.vcloud.VCloudResponse, libcloud.drivers.voxel.VoxelResponse, libcloud.drivers.vpsnet.VPSNetResponse

A Base Response class to derive from.
Method __init__ Undocumented
Method parse_body Parse response body.
Method parse_error Parse the error messages.
Method success Determine if our request was successful.
def __init__(self, response): (source)
Undocumented
def parse_body(self): (source)
Parse response body.

Override in a provider's subclass.

ReturnsParsed body.
def parse_error(self): (source)
Parse the error messages.

Override in a provider's subclass.

ReturnsParsed error.
def success(self): (source)
Determine if our request was successful.

The meaning of this can be arbitrary; did we receive OK status? Did the node get created? Were we authenticated?

ReturnsTrue or False
API Documentation for libcloud, generated by pydoctor at 2012-07-15 18:44:49.