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

Cordova file transfer Content-Length header problem

VotersWatch issueWatchersLinkUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment