mirror of
https://github.com/servo/servo.git
synced 2025-08-08 06:55:31 +01:00
Fix some new warnings
This commit is contained in:
parent
112f1ddeba
commit
1d38bc0419
65 changed files with 179 additions and 175 deletions
|
@ -1054,7 +1054,7 @@ fn http_network_or_cache_fetch(
|
|||
let forward_response =
|
||||
http_network_fetch(http_request, credentials_flag, done_chan, context);
|
||||
// Substep 3
|
||||
if let Some((200...399, _)) = forward_response.raw_status {
|
||||
if let Some((200..=399, _)) = forward_response.raw_status {
|
||||
if !http_request.method.is_safe() {
|
||||
if let Ok(mut http_cache) = context.state.http_cache.write() {
|
||||
http_cache.invalidate(&http_request, &forward_response);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue