cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jumangee <...@git.apache.org>
Subject [GitHub] cordova-plugin-file-transfer pull request #190: [Android] Handle redirects w...
Date Mon, 04 Sep 2017 11:03:34 GMT
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 <zdes@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


Mime
View raw message