You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@libcloud.apache.org by "Tomaz Muraus (Updated) (JIRA)" <ji...@apache.org> on 2012/03/31 06:03:24 UTC
[dev] [jira] [Updated] (LIBCLOUD-158) Linode driver doesn't decode
compressed responses
[ https://issues.apache.org/jira/browse/LIBCLOUD-158?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tomaz Muraus updated LIBCLOUD-158:
----------------------------------
Fix Version/s: 0.9.1
> 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
> Fix For: 0.9.1
>
> 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