From 98cd96eb011f8ba04d7b3325b49759f91038268f Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Thu, 12 May 2016 02:20:54 -0400 Subject: [PATCH] Make DELETE a write method in Zotero.HTTP.isWriteMethod() --- chrome/content/zotero/xpcom/http.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/zotero/xpcom/http.js b/chrome/content/zotero/xpcom/http.js index 5e5a0decc..5a2ec0587 100644 --- a/chrome/content/zotero/xpcom/http.js +++ b/chrome/content/zotero/xpcom/http.js @@ -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'; };