commit edad44c2dbaa9f0e872ab1a1a0f654739ab73d64 parent c9a3d49a5ed6f9848011fedb0d6deffdcc374868 Author: Dan Stillman <dstillman@zotero.org> Date: Tue, 16 Sep 2008 04:34:48 +0000 Allow 200 status code on DELETE in one other place Diffstat:
| M | chrome/content/zotero/xpcom/storage.js | | | 4 | +++- |
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/chrome/content/zotero/xpcom/storage.js b/chrome/content/zotero/xpcom/storage.js @@ -1384,6 +1384,8 @@ Zotero.Sync.Storage = new function () { Zotero.Utilities.HTTP.WebDAV.doDelete(deleteURI, function (req) { switch (req.status) { case 204: + // IIS 5.1 and some versions of mod_dav return 200 + case 200: results.deleted.push(fileName); break; @@ -1531,7 +1533,7 @@ Zotero.Sync.Storage = new function () { switch (req.status) { case 204: - // IIS 5.1 returns 200 + // IIS 5.1 and some versions of mod_dav return 200 case 200: callback( uri,