From 12714cd25ce5214cd403877e4cdcbbd9f07dd092 Mon Sep 17 00:00:00 2001 From: Peter Bieringer Date: Tue, 22 Apr 2025 21:31:59 +0200 Subject: [PATCH] fix for https://github.com/Kozea/Radicale/issues/1765 --- radicale/app/put.py | 4 ++++ 1 file changed, 4 insertions(+) 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