You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Ian Clelland (JIRA)" <ji...@apache.org> on 2013/05/22 16:39:19 UTC

[jira] [Commented] (CB-3430) FileTransfer gzipped content is not unzipped

    [ https://issues.apache.org/jira/browse/CB-3430?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13664149#comment-13664149 ] 

Ian Clelland commented on CB-3430:
----------------------------------

It's not a bug in OkHttp -- it's actually due to some special-case handling of pre-honeycomb Android to work around some HTTP bugs there (see CB-1413).

The bug in that ticket was actually fixed by upgrading to OkHttp, so I've been able to remove the special case, and GZIP-encoding is now handled correctly in Android 2.3.3.

                
> FileTransfer gzipped content is not unzipped
> --------------------------------------------
>
>                 Key: CB-3430
>                 URL: https://issues.apache.org/jira/browse/CB-3430
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.7.0
>         Environment: Android 2.3, tested on a Samsung Galaxy S
>            Reporter: Florian Falkner
>            Assignee: Ian Clelland
>              Labels: android, download, gzip
>
> When downloading a gzipped file via FileTransfer.download from a remote URL the file is not unzipped on the local filesystem. 
> The file is saved in gzipped form, inclusion as javascript or css fails. Auto unzipping works on Android 4+.
> Downgrading to Cordova 2.6 solves the issue, seems to be a bug in OkHttp.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira