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

Allow response body on delete contract #24

Open
rshishehbor opened this issue Feb 4, 2015 · 0 comments
Open

Allow response body on delete contract #24

rshishehbor opened this issue Feb 4, 2015 · 0 comments

Comments

@rshishehbor
Copy link

Hoping we can change the delete() contract to allow for sending status entities back on bulk DELETE operations. Per RFC:

RFC2616 9.7 DELETE: "A successful response SHOULD be 200 (OK) if the response includes an entity describing the status, 202 (Accepted) if the action has not yet been enacted, or 204 (No Content) if the action has been enacted but the response does not include an entity.”

I’m wondering, could we have the restful plugin support both codes according to the standard? Meaning, could we support void delete(…) and def delete(…). Right now, I’m struggling to support a bulk DELETE operation without sending back a content body describing the status of each individual delete operation in the bulk request.

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