cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From daserge <>
Subject [GitHub] cordova-plugin-file-transfer pull request #170: CB-12154 file-transfer progr...
Date Fri, 25 Nov 2016 14:38:00 GMT
GitHub user daserge opened a pull request:

    CB-12154 file-transfer = -1 on iOS

    Please make sure the checklist boxes are all checked before submitting the PR. The checklist
    is intended as a quick reference, for complete details please see our Contributor Guidelines:
    ### Platforms affected
    ### What does this PR do?
    Reverts logic for not setting `Content-Length` for `chunkedMode=true`.
    This was causing progress events total to be -1 and progress to be not computable.
    So while this change technically violates the [specification](
it fixes the functionality.
    ### What testing has been done on this change?
    Manual and autotests.
    ### Checklist
    - [x] [Reported an issue]( in the JIRA
    - [x] Commit message follows the format: "CB-3232: (android) Fix bug with resolving file
paths", where CB-xxxx is the JIRA ID & "android" is the platform affected.
    - [ ] Added automated test coverage as appropriate for this change.

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

    $ git pull CB-12154

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 #170
commit c8b387ccab8b09027a6fc13888b73103054f4b25
Author: daserge <>
Date:   2016-11-23T15:57:11Z

    CB-12154 file-transfer = -1 on iOS
    Makes chunkedMode=true uploads to contain Content-Length to make progress computable


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