diff --git a/radicale/app/put.py b/radicale/app/put.py index fda6140b..82d04a3f 100644 --- a/radicale/app/put.py +++ b/radicale/app/put.py @@ -282,6 +282,10 @@ class ApplicationPartPut(ApplicationBase): logger.warning( "Bad PUT request on %r (upload): %s", path, e, exc_info=True) return httputils.BAD_REQUEST + if (item and item.uid == prepared_item.uid): + logger.debug("PUT request updated existing item %r", path) + headers = {"ETag": etag} + return client.NO_CONTENT, headers, None headers = {"ETag": etag} return client.CREATED, headers, None