cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <>
Subject [jira] [Commented] (CB-10974) Cordova file transfer Content-Length header problem
Date Thu, 08 Dec 2016 00:57:59 GMT


ASF subversion and git services commented on CB-10974:

Commit 655489905ab5bd2600d4eaf80e8dd5d27e96b461 in cordova-plugin-file-transfer's branch refs/heads/1.6.x
from [~daserge]
[;h=6554899 ]

CB-10974 Cordova file transfer Content-Length header problem

Don't force chunkedMode=true for HTTPS if it was specified as false in the UploadOptions (added
a warning about possible OOM for chunkedMode=false+HTTPS case)

> Cordova file transfer Content-Length header problem
> ---------------------------------------------------
>                 Key: CB-10974
>                 URL:
>             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

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

View raw message