View Revisions: Issue #23650

Summary 0023650: Leverage If-Match when deleting issues
Revision 2017-11-27 21:21 by vboctor
Description

If If-Match is specified with an etag and it doesn't match the issue etag or the issue doesn't exist, then return 412 Precondition Failed, otherwise delete.

This makes sure that the client DELETE fails if the issue doesn't exist or exists but has been modified since issue was retrieved by the client.

Revision 2017-11-18 02:16 by vboctor
Description

If If-None-Match is specified with an etag and it doesn't match the issue etag or the issue doesn't exist, then return 412 Precondition Failed, otherwise delete.

This makes sure that the client DELETE fails if the issue doesn't exist or exists but has been modified since issue was retrieved by the client.