cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Grieve (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CB-1517) FileTransfer.download progress events has this.lengthComputable = false when response is gzipped
Date Wed, 27 Mar 2013 21:03:15 GMT

     [ https://issues.apache.org/jira/browse/CB-1517?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Andrew Grieve resolved CB-1517.
-------------------------------

       Resolution: Fixed
    Fix Version/s: 2.7.0
         Assignee: Ian Clelland  (was: Andrew Grieve)

mobile-spec commit 1: https://git-wip-us.apache.org/repos/asf?p=cordova-mobile-spec.git;a=commit;h=da89eaacfdc9625b94a96a3b22a5a50ed309b87e
mobile-spec commit 2: https://git-wip-us.apache.org/repos/asf?p=cordova-mobile-spec.git;a=commit;h=2003ff79a9128ea6473059a753eb1ae5bc64d0b4
android commit: https://git-wip-us.apache.org/repos/asf?p=cordova-android.git;a=commit;h=282367c6d59bf7a74d2455c7ff7b478f2157f0a1
                
> FileTransfer.download progress events has this.lengthComputable = false when response
is gzipped
> ------------------------------------------------------------------------------------------------
>
>                 Key: CB-1517
>                 URL: https://issues.apache.org/jira/browse/CB-1517
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.2.0
>            Reporter: Andrew Grieve
>            Assignee: Ian Clelland
>            Priority: Minor
>             Fix For: 2.7.0
>
>
> Gzip does not happen automatically on older version (pre-froyo I think). And on newer
version it happens transparently. If we set the accept-encoding:gzip header ourselves on the
connection, then it will not do the transparent handling of gzip, and we need to deflate it
ourselves. 
> This means that we can set the header manually, and then do as the following article
says to track the progress:
> http://stackoverflow.com/questions/12124534/monitor-gzip-download-progress-in-java

--
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

Mime
View raw message