[ https://issues.apache.org/jira/browse/CB-1455?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13907330#comment-13907330 ]
Ian Clelland edited comment on CB-1455 at 2/20/14 7:19 PM: ----------------------------------------------------------- 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, to the actual bytes to be sent out by OkHTTP, without ever being coerced into lowercase. was (Author: iclelland): 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)