change GET response from GONE to NOT FOUND when item is not found
This commit is contained in:
parent
a7700f9805
commit
5b8333c2b0
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user