Merge pull request #260 from deronnax/not_found_instead_of_gone
change GET response from GONE to NOT FOUND when item is not found
This commit is contained in:
		@@ -424,7 +424,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:
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user