Bug 1017636 - Remove all conditional request headers when cache entry's sec-info or input fails to open. r=mcmanus

This commit is contained in:
Honza Bambas 2014-05-29 19:42:33 +02:00
parent c555d6f2fb
commit 87a7dbe8fd

View File

@ -3011,6 +3011,7 @@ nsHttpChannel::OnCacheEntryCheck(nsICacheEntry* entry, nsIApplicationCache* appC
if (mDidReval) {
// Make the request unconditional again.
mRequestHead.ClearHeader(nsHttp::If_Modified_Since);
mRequestHead.ClearHeader(nsHttp::If_None_Match);
mRequestHead.ClearHeader(nsHttp::ETag);
mDidReval = false;
}