mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07: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
c555d6f2fb
commit
87a7dbe8fd
@ -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