Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Critical-CH] Add check for unsafe HTTP methods
According to the Client Hint Reliability ietf draft https://tools.ietf.org/html/draft-davidben-http-client-hint-reliability#section-3 > If the request did not use a safe method (Section 4.2.1 of [RFC7231]), ignore the Critical-CH header and continue processing the response as usual. Also added a WPT to make sure. Bug: 1127313 Change-Id: I82682077dfa51a4aa7204a973c192379cd6588c7 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2508711 Commit-Queue: Aaron Tagliaboschi <[email protected]> Reviewed-by: Matt Menke <[email protected]> Reviewed-by: Maksim Orlovich <[email protected]> Reviewed-by: Yoav Weiss <[email protected]> Cr-Commit-Position: refs/heads/master@{#824434}
- Loading branch information