From 3c4e27899c52d32acba275beb90744b35dde74c0 Mon Sep 17 00:00:00 2001 From: jmoenig Date: Fri, 10 Jan 2014 11:37:04 +0100 Subject: Revert pull request #295 (xhr-headers) breaks existing installations --- threads.js | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'threads.js') diff --git a/threads.js b/threads.js index 722ce6b..d4a6732 100644 --- a/threads.js +++ b/threads.js @@ -83,7 +83,7 @@ ArgLabelMorph, localize, XML_Element, hex_sha512*/ // Global stuff //////////////////////////////////////////////////////// -modules.threads = '2014-January-09'; +modules.threads = '2014-January-10'; var ThreadManager; var Process; @@ -1772,11 +1772,6 @@ Process.prototype.reportURL = function (url) { if (!this.httpRequest) { this.httpRequest = new XMLHttpRequest(); this.httpRequest.open("GET", 'http://' + url, true); - this.httpRequest.setRequestHeader( - "X-Requested-With", - "XMLHttpRequest" - ); - this.httpRequest.setRequestHeader("X-Application", "Snap! 4.0"); this.httpRequest.send(null); } else if (this.httpRequest.readyState === 4) { response = this.httpRequest.responseText; -- cgit v1.3.1