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

303 status on ResourceExistsException instead of 409? #28

Open
namedgraph opened this issue Mar 9, 2021 · 0 comments
Open

303 status on ResourceExistsException instead of 409? #28

namedgraph opened this issue Mar 9, 2021 · 0 comments

Comments

@namedgraph
Copy link
Member

When POST requests attempts to construct a resource that already exists, we throw ResourceExistsException which currently maps to a 409 Conflict error response.

HTTP spec seems to say that 303 See Other can be used: https://tools.ietf.org/html/rfc7231#section-4.3.3

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

No branches or pull requests

1 participant