| Index: net/http/http_cache_transaction.cc
|
| diff --git a/net/http/http_cache_transaction.cc b/net/http/http_cache_transaction.cc
|
| index 864395529a42415db98491b312733c17b8ba55ec..717522eb6951759b6f5cf83e55746532748a7f06 100644
|
| --- a/net/http/http_cache_transaction.cc
|
| +++ b/net/http/http_cache_transaction.cc
|
| @@ -2201,7 +2201,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;
|
|
|