You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Ian Clelland (JIRA)" <ji...@apache.org> on 2014/02/20 20:07:23 UTC

[jira] [Resolved] (CB-1455) 'authorization: ...' instead of 'Authorization: ...' set in FileTransfer

     [ https://issues.apache.org/jira/browse/CB-1455?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ian Clelland resolved CB-1455.
------------------------------

    Resolution: Cannot Reproduce

Also, the string "authorization" does not appear in file-transfer. Nor in cordova-js (anywhere in their histories)

I've verified that the string "Authorization" now passes from application to plugin JS to plugin native code to the HttpURLConnection request headers object.

> 'authorization: ...' instead of 'Authorization: ...' set in FileTransfer
> ------------------------------------------------------------------------
>
>                 Key: CB-1455
>                 URL: https://issues.apache.org/jira/browse/CB-1455
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android, Plugin File Transfer
>    Affects Versions: 2.0.0
>         Environment: Android
>            Reporter: Natalia Bartol
>            Assignee: Ian Clelland
>            Priority: Trivial
>
> Setting 
> params.headers = {'Authorization' : make_base_auth()};
> for FileTransfer results in the request header:
> authorization: Basic bmssOmZvbw==
> According to http://tools.ietf.org/html/rfc1945#section-10.2 it should be written with capital letter:
> Authorization: Basic bmssOmZvbw==
> I bumped into this issue when trying to handle request generated by FileTransfer with ZendFramework2.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)