'Convert the response wire format into a Python object.
Args:
resp: httplib2.Response, the HTTP response headers and status
content: string, the body of the HTTP response
Returns:
The body de-serialized as a Python object.
Raises:
googleapiclient.errors.HttpError if a non 2xx response is received.'

def response(self, resp, content):

    self._log_response(resp, content)
    if (resp.status < 300):
        if (resp.status == 204):
            return self.no_content_response
        return self.deserialize(content)
    else:
        LOGGER.debug(('Content    from    bad    request    was:    %s' % content))
        raise HttpError(resp, content)
