From 5b8333c2b0a982885831bc3090893fce1f3ac280 Mon Sep 17 00:00:00 2001 From: deronnax Date: Fri, 6 Feb 2015 18:36:56 +0100 Subject: [PATCH] change GET response from GONE to NOT FOUND when item is not found --- radicale/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/radicale/__init__.py b/radicale/__init__.py index 55329e5..1d4a3a5 100644 --- a/radicale/__init__.py +++ b/radicale/__init__.py @@ -423,7 +423,7 @@ class Application(object): collection.tag, collection.headers, items) etag = item.etag else: - return client.GONE, {}, None + return client.NOT_FOUND, {}, None else: # Create the collection if it does not exist if not collection.exists: