You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Julien Fougère (JIRA)" <ji...@apache.org> on 2012/11/29 14:02:58 UTC

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

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

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

Posted by "Tim Kim (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1954?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13510644#comment-13510644 ] 

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

Hey Julien,

The fix should be in the next rc release which I believe should be released next week Monday. 
                
> 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

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

Posted by "Tim Kim (JIRA)" <ji...@apache.org>.
    [ 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

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

Posted by "Tim Kim (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CB-1954?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tim Kim resolved CB-1954.
-------------------------

    Resolution: Fixed
    
> 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

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

Posted by "Julien Fougère (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1954?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13510480#comment-13510480 ] 

Julien Fougère commented on CB-1954:
------------------------------------

Hi Tim,

Thanks for the fix. 
Do you have any info of the release version of this fix ?


                
> 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