mirror of
https://github.com/zotero/zotero.git
synced 2026-09-11 22:51:15 +00:00
HTTP.request(): Don't try to output responseText if not text response
This commit is contained in:
parent
c9ab1ec62c
commit
7fe4e50c4c
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue