From 439bca9b3bb80c79b5ac18e8701c8ee73a71b128 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Thu, 7 Jul 2011 16:20:30 +0000 Subject: [PATCH] It shouldn't make a difference, but use the correct post-gzip content type for debug output uploads --- chrome/content/zotero/preferences/preferences.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/zotero/preferences/preferences.js b/chrome/content/zotero/preferences/preferences.js index abb7ddf70..15391e4dd 100644 --- a/chrome/content/zotero/preferences/preferences.js +++ b/chrome/content/zotero/preferences/preferences.js @@ -1418,7 +1418,7 @@ Zotero_Preferences.Debug_Output = { Components.classes["@mozilla.org/xmlextras/xmlhttprequest;1"]. createInstance(); req.open('POST', url, true); - req.setRequestHeader('Content-Type', "application/octet-stream"); + req.setRequestHeader('Content-Type', "text/plain"); req.setRequestHeader('Content-Encoding', 'gzip'); req.channel.notificationCallbacks = {