From cac01100a6f9dbb4a6b9612cd415ad0ffca1da0b Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Tue, 28 Mar 2017 02:17:15 -0400 Subject: [PATCH] Avoid XML Parsing Error in Firefox console for ping requests --- chrome/content/zotero/xpcom/server_connector.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/zotero/xpcom/server_connector.js b/chrome/content/zotero/xpcom/server_connector.js index 21751832a..0f73130a6 100644 --- a/chrome/content/zotero/xpcom/server_connector.js +++ b/chrome/content/zotero/xpcom/server_connector.js @@ -799,7 +799,7 @@ Zotero.Server.Connector.Ping.prototype = { 'Zotero Connector Server is Available' + 'Zotero Connector Server is Available']; } else { - return [200]; + return [200, 'text/plain', '']; } } }