Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-10974

Cordova file transfer Content-Length header problem

    XMLWordPrintableJSON

Details

    Description

      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"];

      Attachments

        Activity

          People

            daserge Sergey Shakhnazarov
            lapotchkin Roman Lapotchkin
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: