It shouldn't make a difference, but use the correct post-gzip content type for debug output uploads

This commit is contained in:
Dan Stillman 2011-07-07 16:20:30 +00:00
parent 599f50455e
commit 439bca9b3b

View File

@ -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 = {