Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Confusing status code while using HEAD on keyvalue data #353

Closed
tingzhao opened this issue Feb 26, 2021 · 0 comments
Closed

Confusing status code while using HEAD on keyvalue data #353

tingzhao opened this issue Feb 26, 2021 · 0 comments

Comments

@tingzhao
Copy link

DVID returns 204 for a HEAD request to a non-existing key in keyvalue data. This can be confusing because 204 usually means that the resource is fine but the server doesn't bother to return any content. 404 would be a better response for a missing key.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant