🚨 `cargo check` pass
parent
6b71b32cf5
commit
d16b0c4c61
|
@ -33,7 +33,6 @@ use futures_util::StreamExt;
|
|||
use handlebars::Handlebars;
|
||||
use hyper::{
|
||||
Body,
|
||||
Method,
|
||||
Request,
|
||||
Response,
|
||||
Server,
|
||||
|
|
|
@ -142,14 +142,6 @@ async fn serve_file (
|
|||
|
||||
let decision = serve_file_decision (&input);
|
||||
|
||||
let client_cache_hit = match &input.actual_etag {
|
||||
None => false,
|
||||
Some (actual) => match &if_none_match {
|
||||
None => false,
|
||||
Some (if_none_match) => &actual == if_none_match,
|
||||
}
|
||||
};
|
||||
|
||||
let (range, range_requested) = (range.range, range.range_requested);
|
||||
|
||||
info! ("Serving range {}-{}", range.start, range.end);
|
||||
|
|
Loading…
Reference in New Issue