Avoid XML Parsing Error in Firefox console for ping requests

This commit is contained in:
Dan Stillman 2017-03-28 02:17:15 -04:00
parent 09d4960e1f
commit cac01100a6

View File

@ -799,7 +799,7 @@ Zotero.Server.Connector.Ping.prototype = {
'<title>Zotero Connector Server is Available</title></head>' +
'<body>Zotero Connector Server is Available</body></html>'];
} else {
return [200];
return [200, 'text/plain', ''];
}
}
}