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

Should fcrepo API Allow 200 in PATCH Responses? #14

Open
no-reply opened this issue Oct 12, 2016 · 1 comment
Open

Should fcrepo API Allow 200 in PATCH Responses? #14

no-reply opened this issue Oct 12, 2016 · 1 comment
Labels

Comments

@no-reply
Copy link
Member

Clients (ActiveFedora) currently rely on a 204 response to PATCH requests. Is this a bug in the clients and documentation, or does the API genuinely want to restrict to 204, ruling out other status codes (and their associated behaviors).

This is being raised due to #13.

@no-reply
Copy link
Member Author

To tentatively answer my own question: yes. Any otherwise appropriate status codes allowed by RFC 5789 should be acceptable. Clients should anticipate a variety of acceptable responses.

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

No branches or pull requests

1 participant