[
https://issues.apache.org/jira/browse/LIBCLOUD-158?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tomaz Muraus resolved LIBCLOUD-158.
-----------------------------------
Resolution: Fixed
Merged into trunk, thanks.
> Linode driver doesn't decode compressed responses
> -------------------------------------------------
>
> Key: LIBCLOUD-158
> URL: https://issues.apache.org/jira/browse/LIBCLOUD-158
> Project: Libcloud
> Issue Type: Bug
> Components: Compute
> Affects Versions: 0.8.0
> Reporter: Ben Agricola
> Attachments: issue158.patch
>
>
> After upgrade from 0.7.1 to 0.8.0 calls to the Linode API fail with a
> MalformedResponseError (Failed to parse JSON). Changes to
> base.Connection.request() send correct Accept-Encoding headers (making Linode
> API return compressed data), but common.linode.LinodeResponse overrides
> common.base.Response.__init__() in which _decompress_response() is called -
> the response body is never decompressed and fails to json.loads() in
> common.base.JsonResponse.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira