Commit 5e488845 5e488845fa9cd9f8368a25eacd3c0b8f361bd69c by Nicolas Perriault

proper headers sent by ClientUtils.sendAJAX()

1 parent eb98da17
......@@ -644,7 +644,7 @@
} else if (typeof data === "string") {
dataString = data;
}
xhr.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
}
xhr.send(method === "POST" ? dataString : null);
return xhr.responseText;
......