feat: allow conditional revalidation for QUERY requests (#7366)
Before adoption: this commit came in with the history the project adopted, so no landing records it.
* feat: allow conditional revalidation for QUERY requests req.fresh only validated freshness for GET and HEAD, so QUERY responses never returned 304 despite a matching If-None-Match. QUERY is a safe, idempotent, cacheable method that supports conditional requests, so include it in the freshness check. * docs: include history ---------
authored by James Ross · committed by GitHub · parent ba00676 · Browse files · 3 files+50 added−2 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Trailers
- Co-authored-by: Sebastian Beltran <bjohansebas@gmail.com>
Diff stats
3 files+50 added−2 removed
- tests:+38 added−0 removed
- other:+12 added−2 removed