If-None-Match
Class: \Aedart\ETags\Preconditions\Rfc9110\IfNoneMatch
Applicable
When If-None-Match
header is requested.
Condition
- If the
If-None-Match
header is "*", the condition is false if current representation (Etag) exists for the target resource. - If the
If-None-Match
header is a list Etags, the condition is false if one of the listed tags matches the Etag of the selected representation (the resource). - Otherwise, the condition is true.
When it passes
When condition passes, evaluation continues to If-Range precondition.
When it fails
If request is GET
or HEAD
, the abortNotModified()
action method is invoked.
For other Http methods, the abortPreconditionFailed()
action method is invoked.