change GET response from GONE to NOT FOUND when item is not found

This commit is contained in:
deronnax 2015-02-06 18:36:56 +01:00
parent a7700f9805
commit 5b8333c2b0

View File

@ -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: