You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Sergey Shakhnazarov (JIRA)" <ji...@apache.org> on 2015/10/26 13:24:27 UTC
[jira] [Commented] (CB-5241) WP8 FileTransfer.Upload set custom
headers with array values occur exception
[ https://issues.apache.org/jira/browse/CB-5241?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14974128#comment-14974128 ]
Sergey Shakhnazarov commented on CB-5241:
-----------------------------------------
[~alsorokin], looks like [spec.27|https://github.com/apache/cordova-plugin-file-transfer/blob/65d28795a6fb31a6eeae866ae5cfd02bfafdb28e/tests/tests.js#L842] can be unpended - it passes on wp8 now.
> WP8 FileTransfer.Upload set custom headers with array values occur exception
> -----------------------------------------------------------------------------
>
> Key: CB-5241
> URL: https://issues.apache.org/jira/browse/CB-5241
> Project: Apache Cordova
> Issue Type: Bug
> Components: Plugin File Transfer
> Affects Versions: 3.1.0
> Environment: Windows Phone8
> Reporter: puchen
> Labels: FileTransfer, WP8
>
> 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.
--
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