cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nikhil Khandelwal (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CB-10974) Cordova file transfer Content-Length header problem
Date Wed, 06 Apr 2016 00:52:26 GMT

     [ https://issues.apache.org/jira/browse/CB-10974?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Nikhil Khandelwal updated CB-10974:
-----------------------------------
    Assignee: Sergey Shakhnazarov

> 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
>
> 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: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message