cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From restouffer <...@git.apache.org>
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:

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

    [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: https://github.com/phonegap/phonegap-plugin-contentsync/pull/95

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

    $ git pull https://github.com/restouffer/cordova-plugin-file-transfer patch-1

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

    https://github.com/apache/cordova-plugin-file-transfer/pull/126.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 #126
    
----
commit 0b9232a6db7c47e71140db6f7a6eac3ce3773c32
Author: restouffer <restouffer@gmail.com>
Date:   2016-02-24T19:27:52Z

    Handle URL redirects when downloading a file
    
    Based on the work of mathieudutour: https://github.com/phonegap/phonegap-plugin-contentsync/pull/95

----


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


Mime
View raw message