cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ian Clelland (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CB-1455) 'authorization: ...' instead of 'Authorization: ...' set in FileTransfer
Date Thu, 20 Feb 2014 19:07:23 GMT

     [ 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)

Mime
View raw message