l.c.d.o.OpenStackResponse(Response) : class documentation

Part of libcloud.compute.drivers.openstack View Source View In Hierarchy

Known subclasses: libcloud.compute.drivers.openstack.OpenStack_1_0_Response, libcloud.compute.drivers.openstack.OpenStack_1_1_Response

Undocumented
Method success Determine if our request was successful.
Method has_content_type Undocumented
Method parse_body Parse response body.
Method parse_error Parse the error messages.

Inherited from Response:

Method __init__ Undocumented
Method _decompress_response Decompress a response body if it is using deflate or gzip encoding.
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?

@return: C{True} or C{False}
def has_content_type(self, content_type): (source)
Undocumented
def parse_body(self): (source)
Parse response body.

Override in a provider's subclass.

@return: Parsed body.
def parse_error(self): (source)
Parse the error messages.

Override in a provider's subclass.

@return: Parsed error.
API Documentation for libcloud, generated by pydoctor at 2013-02-18 10:41:20.