Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.1.0
-
None
Description
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.