forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle Origin header for Vary checks in network service memory cache
This CL allows network service memory cache to use `Origin` header for Vary checks. `Origin` is usually unspecified or specified by renderers like blink::ResourceRequestHead::NeedsHTTPOrigin(). The underlying layer modifies `Origin` when cross origin redirects happen. To handle that case, this CL deletes stored responses when redirects happen. Bug: 1339708 Change-Id: I92d1a8414db797f91eecb9445fd0af985176342c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3760336 Reviewed-by: Maks Orlovich <morlovich@chromium.org> Commit-Queue: Kenichi Ishibashi <bashi@chromium.org> Cr-Commit-Position: refs/heads/main@{#1025055}
- Loading branch information
Showing
4 changed files
with
132 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters