Set 'Content-Type: application/json' on object uploads

This commit is contained in:
Dan Stillman 2015-11-12 02:51:48 -05:00
parent 69e5c5ae05
commit cb81f3febd

View file

@ -297,6 +297,7 @@ Zotero.Sync.APIClient.prototype = {
var xmlhttp = yield this.makeRequest(method, uri, {
headers: {
"Content-Type": "application/json",
"If-Unmodified-Since-Version": libraryVersion
},
body: json,