cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roman Lapotchkin (JIRA)" <>
Subject [jira] [Created] (CB-10974) Cordova file transfer Content-Length header problem
Date Mon, 28 Mar 2016 14:38:25 GMT
Roman Lapotchkin created CB-10974:

             Summary: Cordova file transfer Content-Length header problem
                 Key: CB-10974
             Project: Apache Cordova
          Issue Type: Bug
          Components: iOS, Plugin File Transfer
         Environment: iPad Mini 2 with iOS 9.3
            Reporter: Roman Lapotchkin

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