Allow 200 status code on DELETE in one other place

This commit is contained in:
Dan Stillman 2008-09-16 04:34:48 +00:00
parent c9a3d49a5e
commit edad44c2db

View file

@ -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,