commit 161949115777868a261e8dc52aa0def509584778
parent 7d877ebc91027b595a3fd18a050f225b2c84af61
Author: Dan Stillman <dstillman@zotero.org>
Date: Mon, 15 Sep 2008 08:57:23 +0000
Don't log XML error to console if OPTIONS response isn't XML
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/chrome/content/zotero/xpcom/utilities.js b/chrome/content/zotero/xpcom/utilities.js
@@ -903,6 +903,7 @@ Zotero.Utilities.HTTP = new function() {
xmlhttp.onreadystatechange = function() {
_stateChange(xmlhttp, callback);
};
+ xmlhttp.overrideMimeType("text/plain");
xmlhttp.send(null);
return xmlhttp;
}