mirror of
https://github.com/Kozea/Radicale.git
synced 2025-09-15 20:36:55 +00:00
change GET response from GONE to NOT FOUND when item is not found
This commit is contained in:
parent
a7700f9805
commit
5b8333c2b0
1 changed files with 1 additions and 1 deletions
|
@ -423,7 +423,7 @@ class Application(object):
|
||||||
collection.tag, collection.headers, items)
|
collection.tag, collection.headers, items)
|
||||||
etag = item.etag
|
etag = item.etag
|
||||||
else:
|
else:
|
||||||
return client.GONE, {}, None
|
return client.NOT_FOUND, {}, None
|
||||||
else:
|
else:
|
||||||
# Create the collection if it does not exist
|
# Create the collection if it does not exist
|
||||||
if not collection.exists:
|
if not collection.exists:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue