cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Grieve (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-1455) 'authorization: ...' instead of 'Authorization: ...' set in FileTransfer
Date Wed, 07 Nov 2012 15:29:12 GMT

    [ https://issues.apache.org/jira/browse/CB-1455?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13492425#comment-13492425
] 

Andrew Grieve commented on CB-1455:
-----------------------------------

Headers are supposed to be treated case insensitive. I agree it's a bit strange that it's
being lower-cased, but unless it's causing a problem, I'm going to downgrade the priority.
                
> '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
>    Affects Versions: 2.0.0
>         Environment: Android
>            Reporter: Natalia Bartol
>            Assignee: Joe Bowser
>
> 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 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

Mime
View raw message