Is there any interest in supporting the Precondition Required response in the decision tree? The status code definition can be found at http://tools.ietf.org/html/rfc6585#section-3.
The change would add the following:
- A new callback on resource called
precondition_required? which would default to false. This would commonly be used to check for the presence of an If-Match header.
- A new decision node between
G7 and G8 which will return code 428 if the precondition_required? callback returns true.
Very happy to prepare a pull request if there is interest in this.