2
0
mirror of https://github.com/tenrok/axios.git synced 2026-05-15 11:59:42 +03:00

Delete fails in IE8/IE9, the verb needs to be capitalized.

This commit is contained in:
torkvalo
2014-12-10 13:20:19 +01:00
parent b9fb9fec49
commit 4f34f61b70
+1 -1
View File
@@ -27,7 +27,7 @@ module.exports = function xhrAdapter(resolve, reject, config) {
// Create the request
var request = new(XMLHttpRequest || ActiveXObject)('Microsoft.XMLHTTP');
request.open(config.method, buildUrl(config.url, config.params), true);
request.open(config.method.toUpperCase(), buildUrl(config.url, config.params), true);
// Listen for ready state
request.onreadystatechange = function () {