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

ASF GitHub Bot commented on CB-13466:
-------------------------------------

maverickmishra commented on issue #193: CB-13466: (ios) Only use HEAD to get 
real length if content encoding …
URL: 
https://github.com/apache/cordova-plugin-file-transfer/pull/193#issuecomment-346204567
 
 
   With the new features introduced in 
[XMLHttpRequest](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest),
 this plugin is not needed any more. Migrating from this plugin to using the 
new features of 
[XMLHttpRequest](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest),
 is explained in this [Cordova blog 
post](https://cordova.apache.org/blog/2017/10/18/from-filetransfer-to-xhr2.html).

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


> HEAD request to get real length should only be used for content encoding gzip 
> on iOS
> ------------------------------------------------------------------------------------
>
>                 Key: CB-13466
>                 URL: https://issues.apache.org/jira/browse/CB-13466
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-plugin-file-transfer (DEPRECATED)
>            Reporter: Bobo Häggström
>
> When downloading files without file size (for example dynamically created 
> content) the progress is not updated correct because of the HEAD request to 
> get the real length. In the Android implementation which works, a HEAD 
> request is only used for content encoding gzip. I think the iOS 
> implementation should work the same way.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to