-
Notifications
You must be signed in to change notification settings - Fork 52
Open
Labels
Description
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 tofalse. This would commonly be used to check for the presence of anIf-Matchheader. - A new decision node between
G7andG8which will return code428if theprecondition_required?callback returns true.
Very happy to prepare a pull request if there is interest in this.
Reactions are currently unavailable