cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From restouffer <>
Subject [GitHub] cordova-plugin-file-transfer pull request: [Android] Handle redire...
Date Wed, 24 Feb 2016 19:33:07 GMT
GitHub user restouffer opened a pull request:

    [Android] Handle redirects when downloading a file

    The FileTransfer plugin was stopping on a 301 redirect 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 the work of mathieudutour:

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

    $ git pull patch-1

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

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

    This closes #126
commit 0b9232a6db7c47e71140db6f7a6eac3ce3773c32
Author: restouffer <>
Date:   2016-02-24T19:27:52Z

    Handle URL redirects when downloading a file
    Based on the work of mathieudutour:


If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message