l.c.d.o.OpenNebulaResponse(XmlResponse) : class documentation

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

XmlResponse class for the OpenNebula.org driver.
Method success Check if response has the appropriate HTTP response code to be a success.
Method parse_error Check if response contains any errors.

Inherited from XmlResponse:

Method parse_body Parse response body.

Inherited from Response (via XmlResponse):

Method __init__ Undocumented
Method _decompress_response Decompress a response body if it is using deflate or gzip encoding.
def success(self): (source)
Check if response has the appropriate HTTP response code to be a
success.

@rtype:  C{bool}
@return: True is success, else False.
def parse_error(self): (source)
Check if response contains any errors.

@raise: L{InvalidCredsError}

@rtype:  C{ElementTree}
@return: Contents of HTTP response body.
API Documentation for libcloud, generated by pydoctor at 2013-04-20 21:40:42.