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 7e970bd782
commit 77f07df0e3

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;
}