l.c.d.v.VPSNetResponse(JsonResponse) : class documentation

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

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

Inherited from Response (via JsonResponse):

Method __init__ Undocumented
Method _decompress_response Decompress a response body if it is using deflate or gzip encoding.
def parse_body(self): (source)
Parse response body.

Override in a provider's subclass.

ReturnsParsed body.
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
def parse_error(self): (source)
Parse the error messages.

Override in a provider's subclass.

ReturnsParsed error.
API Documentation for libcloud, generated by pydoctor at 2012-07-15 18:49:10.