Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Use more appropriate HTTP status codes for error cases. #412
This PR addresses Issue #403.
This commits adds test coverage for all the error and non-error cases
When setting a key results in a new resource, we asset an HTTP status
When attempting to get a resource that doesn't exist, we assert an
When attempting to delete a directory without dir=true, or a non-empty
When a precondition (e.g. specified by prevIndex, or prevValue) is not
We continue to assert an HTTP status code of 400 when the request is