[
https://issues.apache.org/jira/browse/CB-10974?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15241221#comment-15241221
]
ASF GitHub Bot commented on CB-10974:
-------------------------------------
GitHub user daserge opened a pull request:
https://github.com/apache/cordova-labs/pull/13
CB-10974 Cordova file transfer Content-Length header problem
Adds headers echo endpoint
[Jira issue](https://issues.apache.org/jira/browse/CB-10974)
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/daserge/cordova-labs CB-10974
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cordova-labs/pull/13.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 #13
----
commit 51aa01ac9ed25aee28758437ccf56b172bacb4e7
Author: daserge <[email protected]>
Date: 2016-04-14T07:33:44Z
CB-10974 Cordova file transfer Content-Length header problem
Adds headers echo endpoint
----
> Cordova file transfer Content-Length header problem
> ---------------------------------------------------
>
> Key: CB-10974
> URL: https://issues.apache.org/jira/browse/CB-10974
> Project: Apache Cordova
> Issue Type: Bug
> Components: Plugin File Transfer
> Environment: iPad Mini 2 with iOS 9.3
> Reporter: Roman Lapotchkin
> Assignee: Sergey Shakhnazarov
> Labels: iOS, triaged
>
> The Content-Length header always sending even options.chunkedMode is true. It
> expected header Transfer-Encoding: chuncked. When i commented this code in
> src/ios/CDVFileTransfer.m at line 232 it works:
> [req setValue:[[NSNumber numberWithLongLong:totalPayloadLength] stringValue]
> forHTTPHeaderField:@"Content-Length"];
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]