mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-02 10:00:54 +00:00
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:
parent
7e970bd782
commit
77f07df0e3
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user