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

Header support for PhoneGap's FileTransfer (Upload)

    XMLWordPrintableJSON

Details

    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.

      Attachments

        Activity

          People

            timkim Tim Kim
            jfougere Julien Fougère
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: