Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 7EA19200BB7 for ; Wed, 26 Oct 2016 07:48:00 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 7D3C8160AFA; Wed, 26 Oct 2016 05:48:00 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id C4999160AD8 for ; Wed, 26 Oct 2016 07:47:59 +0200 (CEST) Received: (qmail 63221 invoked by uid 500); 26 Oct 2016 05:47:59 -0000 Mailing-List: contact issues-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@cordova.apache.org Received: (qmail 63200 invoked by uid 99); 26 Oct 2016 05:47:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Oct 2016 05:47:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 616B82C2A66 for ; Wed, 26 Oct 2016 05:47:58 +0000 (UTC) Date: Wed, 26 Oct 2016 05:47:58 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CB-10974) Cordova file transfer Content-Length header problem MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 26 Oct 2016 05:48:00 -0000 [ https://issues.apache.org/jira/browse/CB-10974?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15607521#comment-15607521 ] ASF GitHub Bot commented on CB-10974: ------------------------------------- Github user royipr commented on the issue: https://github.com/apache/cordova-plugin-file-transfer/pull/141 @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? : https://github.com/apache/cordova-plugin-file-transfer/commit/9347606dd33fe07ea36799b4dd28804019c68835#diff-2a8a5fef3397df87ab538f028a5c6b50R1506 Maybe we should expect that the header will be undefined? > 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: issues-unsubscribe@cordova.apache.org For additional commands, e-mail: issues-help@cordova.apache.org