Julien Fougère created CB-1954:
----------------------------------

             Summary: 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


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

Reply via email to