Set 'Content-Type: application/json' on object uploads
This commit is contained in:
parent
69e5c5ae05
commit
cb81f3febd
1 changed files with 1 additions and 0 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Reference in a new issue