From 931562fbe56a7b4df78ea7debf03c0dbc33d076b Mon Sep 17 00:00:00 2001 From: Dominik Schmidt Date: Wed, 13 Apr 2016 13:17:38 +0200 Subject: [PATCH] Fix getResponseHeader for native requests. Needs discussion what's the cross platform way forward --- data/js/tomahawk.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/js/tomahawk.js b/data/js/tomahawk.js index 5912e88e5..3186e24a6 100644 --- a/data/js/tomahawk.js +++ b/data/js/tomahawk.js @@ -415,7 +415,7 @@ var doRequest = function(options) { return this.responseHeaders; }; xhr.getResponseHeader = function (header) { - return this.responseHeaders[header.toLowerCase()]; + return this.responseHeaders[header]; }; return xhr;