diff --git a/Frameworks/Ajax/Ajax/WebServerResources/jsonrpc.js b/Frameworks/Ajax/Ajax/WebServerResources/jsonrpc.js index a43e40aac51..50d732b6051 100644 --- a/Frameworks/Ajax/Ajax/WebServerResources/jsonrpc.js +++ b/Frameworks/Ajax/Ajax/WebServerResources/jsonrpc.js @@ -778,6 +778,7 @@ JSONRpcClient.prototype._sendRequest = function (req) try { http.setRequestHeader("Content-type", "text/plain"); + http.setRequestHeader("x-requested-with", "XMLHttpRequest"); } catch(e) {