| Index: net/http/http_cache_transaction.cc
|
| diff --git a/net/http/http_cache_transaction.cc b/net/http/http_cache_transaction.cc
|
| index b8f1eb06b2f9eae0f29072e47e64ecadb800d03e..a75f7381d1450d75e8f97c2b4fd1a7fd28e5bd7b 100644
|
| --- a/net/http/http_cache_transaction.cc
|
| +++ b/net/http/http_cache_transaction.cc
|
| @@ -2246,7 +2246,8 @@ ValidationType HttpCache::Transaction::RequiresValidation() {
|
| // - make sure we have a matching request method
|
| // - watch out for cached responses that depend on authentication
|
|
|
| - if (response_.vary_data.is_valid() &&
|
| + if (!(effective_load_flags_ & LOAD_SKIP_VARY_CHECK) &&
|
| + response_.vary_data.is_valid() &&
|
| !response_.vary_data.MatchesRequest(*request_,
|
| *response_.headers.get())) {
|
| vary_mismatch_ = true;
|
|
|