summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/http/http_cache.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/http/http_cache.cc b/net/http/http_cache.cc
index af67853..e0b19e5 100644
--- a/net/http/http_cache.cc
+++ b/net/http/http_cache.cc
@@ -432,7 +432,8 @@ int HttpCache::Transaction::Start(const HttpRequestInfo* request,
// Downgrade to UPDATE if the request has been externally conditionalized.
if (external_validation_.initialized()) {
if (mode_ & WRITE) {
- // Strip off the READ_DATA bit.
+ // Strip off the READ_DATA bit (and maybe add back a READ_META bit
+ // in case READ was off).
mode_ = UPDATE;
} else {
mode_ = NONE;