You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by jumangee <gi...@git.apache.org> on 2017/09/04 11:03:34 UTC

[GitHub] cordova-plugin-file-transfer pull request #190: [Android] Handle redirects w...

GitHub user jumangee opened a pull request:

    https://github.com/apache/cordova-plugin-file-transfer/pull/190

    [Android] Handle redirects when downloading a file (actual)

    Then FileTransfer download gets 301 or 302 redirect it storps and storing the HTML from that page instead of the target file. This adds a loop that detects redirect headers and continues following them until a non-redirect page is loaded.
    
    Based on https://github.com/apache/cordova-plugin-file-transfer/pull/126

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/jumangee/cordova-plugin-file-transfer master

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cordova-plugin-file-transfer/pull/190.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #190
    
----
commit 0f2f9a058a9cfe612fb0a625eea389ad9c8f8434
Author: jumangee <zd...@jumangee.net>
Date:   2017-09-04T10:57:58Z

    [Android] Handle redirects when downloading a file (actual)

----


---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org
For additional commands, e-mail: dev-help@cordova.apache.org