You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Tim Kim (JIRA)" <ji...@apache.org> on 2012/12/05 02:56:58 UTC

[jira] [Commented] (CB-1954) Header support for PhoneGap's FileTransfer (Upload)

    [ https://issues.apache.org/jira/browse/CB-1954?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13510212#comment-13510212 ] 

Tim Kim commented on CB-1954:
-----------------------------

Hey there,

Thanks for filing the ticket. I've a fix here: https://git-wip-us.apache.org/repos/asf?p=cordova-blackberry.git;a=commit;h=5598f528f27ca08e95b597a549e124050b718d09


                
> Header support for PhoneGap's FileTransfer (Upload) 
> ----------------------------------------------------
>
>                 Key: CB-1954
>                 URL: https://issues.apache.org/jira/browse/CB-1954
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: BlackBerry
>    Affects Versions: 2.1.0
>            Reporter: Julien Fougère
>            Assignee: Tim Kim
>              Labels: blackberry, filetransfer
>
> On Blackberry, It is impossible to add custom headers(For example basic-auth Authorization header ) via the FileTransfer.upload API.
> The documentation cleary show a "headers" attribute in FileUploadOptions:
> http://docs.phonegap.com/en/2.1.0/cordova_file_file.md.html#FileUploadOptions
> But theses sources do not implement it:
> https://github.com/apache/cordova-blackberry-webworks/blob/master/framework/ext/src/org/apache/cordova/http/FileUploader.java
> https://github.com/apache/cordova-blackberry-webworks/blob/master/framework/ext/src/org/apache/cordova/http/FileTransfer.java
> This issue has already been fixed on 1.5.0 version for Android, 1.9.0 for iOS and an open issue is still unresolved for WP7. I am opening this one for blackberry platform.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira