From 10b65d6d03ee0afc1ec1a50f320af42a79f5492b Mon Sep 17 00:00:00 2001 From: wei <> Date: Sun, 30 Apr 2006 00:15:23 +0000 Subject: Adding Callback foundations. --- framework/Web/Javascripts/prototype/ajax.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'framework/Web/Javascripts/prototype') diff --git a/framework/Web/Javascripts/prototype/ajax.js b/framework/Web/Javascripts/prototype/ajax.js index 7ec7716c..9fcb473b 100644 --- a/framework/Web/Javascripts/prototype/ajax.js +++ b/framework/Web/Javascripts/prototype/ajax.js @@ -116,7 +116,7 @@ Ajax.Request.prototype = Object.extend(new Ajax.Base(), { var requestHeaders = ['X-Requested-With', 'XMLHttpRequest', 'X-Prototype-Version', Prototype.Version, - 'Accept', 'text/javascript, text/html, application/xml, text/xml, */*']; + 'Accept', 'text/javascript, text/html, application/xml, text/xml']; if (this.options.method == 'post') { requestHeaders.push('Content-type', this.options.contentType); -- cgit v1.2.3