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* use etags for DELETE to agents/activity APIs #564

Merged
merged 2 commits into from
Dec 30, 2014

Conversation

garemoko
Copy link
Contributor

Fixes #357 remaining issues.

See line comments.

##### Client Requirements

* A Client using either Agent Profile API or Activity Profile API MUST include the
* A Client making a PUT request to either the Agent Profile API or Activity Profile API MUST include the
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IMHO the text above this implied it only related to PUT, so I don't think we can argument POST/DELETE are MUSTs.

[If-Match](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.24) header or the
[If-None-Match](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.26) header.

* A Client making a DELETE request to either the Agent Profile API or Activity Profile API SHOULD* include the
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

DELETE doesn't need If-None-Match because you're not going to DELETE something that doesn't exist.

@andyjohnson
Copy link
Contributor

+1 I don't see anything here we haven't discussed

andyjohnson added a commit that referenced this pull request Dec 30, 2014
SHOULD* use etags for DELETE to agents/activity APIs
@andyjohnson andyjohnson merged commit 588a7e6 into adlnet:master Dec 30, 2014
@garemoko garemoko deleted the issue-357 branch January 9, 2015 11:18
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

Successfully merging this pull request may close these issues.

ETag checking on delete and post unclear
2 participants