🚨 `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

@ -33,7 +33,6 @@ use futures_util::StreamExt;
use handlebars::Handlebars; use handlebars::Handlebars;
use hyper::{ use hyper::{
Body, Body,
Method,
Request, Request,
Response, Response,
Server, Server,

View File

@ -142,14 +142,6 @@ async fn serve_file (
let decision = serve_file_decision (&input); 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); let (range, range_requested) = (range.range, range.range_requested);
info! ("Serving range {}-{}", range.start, range.end); info! ("Serving range {}-{}", range.start, range.end);