🚨 `cargo check` pass

main
_ 2021-04-10 09:41:21 -05:00
parent 6b71b32cf5
commit d16b0c4c61
2 changed files with 1 additions and 10 deletions

View File

@ -32,8 +32,7 @@ use dashmap::DashMap;
use futures_util::StreamExt;
use handlebars::Handlebars;
use hyper::{
Body,
Method,
Body,
Request,
Response,
Server,

View File

@ -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);