diff --git a/radicale/__init__.py b/radicale/__init__.py index 2b5a8a0..73996b2 100644 --- a/radicale/__init__.py +++ b/radicale/__init__.py @@ -291,7 +291,7 @@ class Application(object): if etag == item.etag: # No ETag precondition or precondition verified, delete item answer = xmlutils.delete(environ["PATH_INFO"], collection) - return client.NO_CONTENT, {}, answer + return client.OK, {}, answer # No item or ETag precondition not verified, do not delete item return client.PRECONDITION_FAILED, {}, None