You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Simon MacDonald (Created) (JIRA)" <ji...@apache.org> on 2011/11/29 04:29:39 UTC

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

Header support for PhoneGap's FileTransfer
------------------------------------------

                 Key: CB-78
                 URL: https://issues.apache.org/jira/browse/CB-78
             Project: Apache Callback
          Issue Type: Improvement
          Components: Android
            Reporter: Simon MacDonald


Hi,
I am just starting to develop apps using PhoneGap and stumbled upon a problem.
To authenticate against the Server, I send a Basic Authentication header with every request using jQuery's $.ajax functions. Unfortunately, it is not possible to set custom headers using the FileTransfer object. Since FileTransfer itself sets headers, I was wondering if you could add a custom header support to the FileTransfer object, just like FileUploadOptions.params.
Thanks,
Toby

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

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

Roy Clarkson commented on CB-78:
--------------------------------

Setting the OAuth2 Authorization Bearer header also requires access to the request headers to upload files to an OAuth secured endpoint. Thanks!
                
> Header support for PhoneGap's FileTransfer
> ------------------------------------------
>
>                 Key: CB-78
>                 URL: https://issues.apache.org/jira/browse/CB-78
>             Project: Apache Callback
>          Issue Type: Improvement
>          Components: Android
>            Reporter: Simon MacDonald
>
> Hi,
> I am just starting to develop apps using PhoneGap and stumbled upon a problem.
> To authenticate against the Server, I send a Basic Authentication header with every request using jQuery's $.ajax functions. Unfortunately, it is not possible to set custom headers using the FileTransfer object. Since FileTransfer itself sets headers, I was wondering if you could add a custom header support to the FileTransfer object, just like FileUploadOptions.params.
> Thanks,
> Toby

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (CB-78) Header support for PhoneGap's FileTransfer

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

Joe Bowser updated CB-78:
-------------------------

    Fix Version/s: 2.0.0
    
> Header support for PhoneGap's FileTransfer
> ------------------------------------------
>
>                 Key: CB-78
>                 URL: https://issues.apache.org/jira/browse/CB-78
>             Project: Apache Callback
>          Issue Type: Improvement
>          Components: Android
>            Reporter: Simon MacDonald
>            Assignee: Joe Bowser
>             Fix For: 2.0.0
>
>
> Hi,
> I am just starting to develop apps using PhoneGap and stumbled upon a problem.
> To authenticate against the Server, I send a Basic Authentication header with every request using jQuery's $.ajax functions. Unfortunately, it is not possible to set custom headers using the FileTransfer object. Since FileTransfer itself sets headers, I was wondering if you could add a custom header support to the FileTransfer object, just like FileUploadOptions.params.
> Thanks,
> Toby

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Assigned] (CB-78) Header support for PhoneGap's FileTransfer

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

Joe Bowser reassigned CB-78:
----------------------------

    Assignee: Joe Bowser
    
> Header support for PhoneGap's FileTransfer
> ------------------------------------------
>
>                 Key: CB-78
>                 URL: https://issues.apache.org/jira/browse/CB-78
>             Project: Apache Callback
>          Issue Type: Improvement
>          Components: Android
>            Reporter: Simon MacDonald
>            Assignee: Joe Bowser
>             Fix For: 2.0.0
>
>
> Hi,
> I am just starting to develop apps using PhoneGap and stumbled upon a problem.
> To authenticate against the Server, I send a Basic Authentication header with every request using jQuery's $.ajax functions. Unfortunately, it is not possible to set custom headers using the FileTransfer object. Since FileTransfer itself sets headers, I was wondering if you could add a custom header support to the FileTransfer object, just like FileUploadOptions.params.
> Thanks,
> Toby

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

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

Joe Bowser commented on CB-78:
------------------------------

This does not appear to be documented as of yet.
                
> Header support for PhoneGap's FileTransfer
> ------------------------------------------
>
>                 Key: CB-78
>                 URL: https://issues.apache.org/jira/browse/CB-78
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: Android
>            Reporter: Simon MacDonald
>            Assignee: Simon MacDonald
>             Fix For: 1.5.0
>
>
> Hi,
> I am just starting to develop apps using PhoneGap and stumbled upon a problem.
> To authenticate against the Server, I send a Basic Authentication header with every request using jQuery's $.ajax functions. Unfortunately, it is not possible to set custom headers using the FileTransfer object. Since FileTransfer itself sets headers, I was wondering if you could add a custom header support to the FileTransfer object, just like FileUploadOptions.params.
> Thanks,
> Toby

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (CB-78) Header support for PhoneGap's FileTransfer (upload)

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

Shazron Abdullah updated CB-78:
-------------------------------

    Summary: Header support for PhoneGap's FileTransfer (upload)  (was: Header support for PhoneGap's FileTransfer)
    
> Header support for PhoneGap's FileTransfer (upload)
> ---------------------------------------------------
>
>                 Key: CB-78
>                 URL: https://issues.apache.org/jira/browse/CB-78
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: Android
>            Reporter: Simon MacDonald
>            Assignee: Simon MacDonald
>             Fix For: 1.5.0
>
>
> Hi,
> I am just starting to develop apps using PhoneGap and stumbled upon a problem.
> To authenticate against the Server, I send a Basic Authentication header with every request using jQuery's $.ajax functions. Unfortunately, it is not possible to set custom headers using the FileTransfer object. Since FileTransfer itself sets headers, I was wondering if you could add a custom header support to the FileTransfer object, just like FileUploadOptions.params.
> Thanks,
> Toby

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

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

Joe Bowser resolved CB-78.
--------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 2.0.0)
                   1.5.0
         Assignee: Simon MacDonald  (was: Joe Bowser)

Please confirm the fix and close.  This should be in 1.5
                
> Header support for PhoneGap's FileTransfer
> ------------------------------------------
>
>                 Key: CB-78
>                 URL: https://issues.apache.org/jira/browse/CB-78
>             Project: Apache Callback
>          Issue Type: Improvement
>          Components: Android
>            Reporter: Simon MacDonald
>            Assignee: Simon MacDonald
>             Fix For: 1.5.0
>
>
> Hi,
> I am just starting to develop apps using PhoneGap and stumbled upon a problem.
> To authenticate against the Server, I send a Basic Authentication header with every request using jQuery's $.ajax functions. Unfortunately, it is not possible to set custom headers using the FileTransfer object. Since FileTransfer itself sets headers, I was wondering if you could add a custom header support to the FileTransfer object, just like FileUploadOptions.params.
> Thanks,
> Toby

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

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

Shazron Abdullah commented on CB-78:
------------------------------------

Joe/Simon -- is this support documented in Android? I'm asking for CB-765
                
> Header support for PhoneGap's FileTransfer
> ------------------------------------------
>
>                 Key: CB-78
>                 URL: https://issues.apache.org/jira/browse/CB-78
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: Android
>            Reporter: Simon MacDonald
>            Assignee: Simon MacDonald
>             Fix For: 1.5.0
>
>
> Hi,
> I am just starting to develop apps using PhoneGap and stumbled upon a problem.
> To authenticate against the Server, I send a Basic Authentication header with every request using jQuery's $.ajax functions. Unfortunately, it is not possible to set custom headers using the FileTransfer object. Since FileTransfer itself sets headers, I was wondering if you could add a custom header support to the FileTransfer object, just like FileUploadOptions.params.
> Thanks,
> Toby

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira