Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2055)

Unified Diff: net/http/http_cache.cc

Issue 2594333003: [HttpCacheTransaction] Ignore vary check for WriteMetadata requests (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/base/load_flags_list.h ('k') | net/http/http_cache_transaction.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_cache.cc
diff --git a/net/http/http_cache.cc b/net/http/http_cache.cc
index 099412a8d1444a95c37dfc6c6dbe3328e1bb540f..54cf57139797f2f9a5736f449c6627ee914cdf31 100644
--- a/net/http/http_cache.cc
+++ b/net/http/http_cache.cc
@@ -230,7 +230,8 @@ void HttpCache::MetadataWriter::Write(const GURL& url,
DCHECK(buf->data());
request_info_.url = url;
request_info_.method = "GET";
- request_info_.load_flags = LOAD_ONLY_FROM_CACHE | LOAD_SKIP_CACHE_VALIDATION;
+ request_info_.load_flags =
+ LOAD_ONLY_FROM_CACHE | LOAD_SKIP_CACHE_VALIDATION | LOAD_SKIP_VARY_CHECK;
expected_response_time_ = expected_response_time;
buf_ = buf;
« no previous file with comments | « net/base/load_flags_list.h ('k') | net/http/http_cache_transaction.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698