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

WP8 FileTransfer.Upload set custom headers with array values occur exception

    XMLWordPrintableJSON

Details

    Description

      1. create WP8 Cordova project, add FileTransfer plugin.
      2. add FileTransfer test, run auto test cordova-plugin-file-transfer\test.

      filetransfer.spec.27 should be able to set custom headers failed .
      there occur exception parse custom headers in FileTransfer.cs , because it not support Parse header array values!

      in FileTransfer.cs at line 319: parseHeaders can't parser header string like this : example : "

      {\"CustomHeader1\":\"CustomValue1\",\"CustomHeader2\":[\"CustomValue2\",\"CustomValue3\"]}

      ".

      so it can't pass the filetransfer.spec.27 test case.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              puchen puchen
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: