l.b.Response(object) : class documentation

Part of libcloud.base View Source View In Hierarchy

Known subclasses: libcloud.base.RawResponse, libcloud.common.aws.AWSBaseResponse, libcloud.common.cloudstack.CloudStackResponse, libcloud.common.gogrid.GoGridResponse, libcloud.common.linode.LinodeResponse, libcloud.common.openstack.OpenStackAuthResponse, libcloud.compute.drivers.bluebox.BlueboxResponse, libcloud.compute.drivers.brightbox.BrightboxResponse, libcloud.compute.drivers.cloudsigma.CloudSigmaResponse, libcloud.compute.drivers.ecp.ECPResponse, libcloud.compute.drivers.elasticstack.ElasticStackResponse, libcloud.compute.drivers.ibm_sbc.IBMResponse, libcloud.compute.drivers.opennebula.OpenNebulaResponse, libcloud.compute.drivers.opsource.OpsourceResponse, libcloud.compute.drivers.slicehost.SlicehostResponse, libcloud.compute.drivers.vcloud.VCloudResponse, libcloud.compute.drivers.voxel.VoxelResponse, libcloud.dns.drivers.zerigo.ZerigoDNSResponse, libcloud.loadbalancer.drivers.rackspace.RackspaceResponse, libcloud.storage.drivers.atmos.AtmosResponse, libcloud.storage.drivers.cloudfiles.CloudFilesResponse

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, connection): (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:45:43.