Make DELETE a write method in Zotero.HTTP.isWriteMethod()

This commit is contained in:
Dan Stillman 2016-05-12 02:20:54 -04:00
parent 8bbde63284
commit 98cd96eb01

View File

@ -737,7 +737,7 @@ Zotero.HTTP = new function() {
this.isWriteMethod = function (method) {
return method == 'POST' || method == 'PUT' || method == 'PATCH';
return method == 'POST' || method == 'PUT' || method == 'PATCH' || method == 'DELETE';
};