cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (CB-10974) Cordova file transfer Content-Length header problem
Date Wed, 26 Oct 2016 05:47:58 GMT


ASF GitHub Bot commented on CB-10974:

Github user royipr commented on the issue:
    @daserge Acourding to the response it does attach Transfer-Encoding header.
    Is there a way to print the headers? I didn't saw them on `adb logcat`.
    Maybe the problem is here? :
    Maybe we should expect that the header will be undefined?

> 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