fcrepo4-labs/derby

Should `fcrepo` API Allow `200` in PATCH Responses?

no-reply opened this issue · 1 comments

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.

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.