diff --git a/chrome/content/zotero/xpcom/http.js b/chrome/content/zotero/xpcom/http.js index 65bf6dd32a..c73b7d4777 100644 --- a/chrome/content/zotero/xpcom/http.js +++ b/chrome/content/zotero/xpcom/http.js @@ -532,7 +532,7 @@ Zotero.HTTP = new function () { if(success) { Zotero.debug("HTTP " + method + " " + dispURL + " succeeded with " + status); - if (options.debug) { + if (options.debug && (xmlhttp.responseType == '' || xmlhttp.responseType == 'text')) { Zotero.debug(xmlhttp.responseText); }