1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-04-21 16:31:58 +02:00

Fix getResponseHeader for native requests. Needs discussion what's the cross platform way forward

This commit is contained in:
Dominik Schmidt 2016-04-13 13:17:38 +02:00
parent 77593e32a7
commit 931562fbe5

View File

@ -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;