www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit 98cd96eb011f8ba04d7b3325b49759f91038268f
parent 8bbde6328463bf1dfc06dfe21e9efaad507131a6
Author: Dan Stillman <dstillman@zotero.org>
Date:   Thu, 12 May 2016 02:20:54 -0400

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

Diffstat:
Mchrome/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 @@ -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'; };