diff --git a/chrome/content/zotero/xpcom/http.js b/chrome/content/zotero/xpcom/http.js index 2368414154..fa948cf93f 100644 --- a/chrome/content/zotero/xpcom/http.js +++ b/chrome/content/zotero/xpcom/http.js @@ -119,7 +119,7 @@ Zotero.HTTP = new function() { } // Send headers - var headers = {}; + var headers = (options && options.headers) || {}; if (options && options.body && !headers["Content-Type"]) { headers["Content-Type"] = "application/x-www-form-urlencoded"; }