Unverified Commit ebacbe3b authored by 루밀LuMir's avatar 루밀LuMir Committed by GitHub

fix: redundant double space in `http.rs` (#72059)

## 📚 Fixed typos

Hello, I've fixed unnecessay double space in `http.rs`.
Co-authored-by: 's avatarJJ Kasper <jj@jjsweb.site>
parent e3c6b44b
...@@ -143,7 +143,7 @@ pub async fn process_request_with_content_source( ...@@ -143,7 +143,7 @@ pub async fn process_request_with_content_source(
let guess = mime_guess::from_path(&original_path).first_or_octet_stream(); let guess = mime_guess::from_path(&original_path).first_or_octet_stream();
should_compress = should_compress_predicate(&guess); should_compress = should_compress_predicate(&guess);
// If a text type, application/javascript, or application/json was // If a text type, application/javascript, or application/json was
// guessed, use a utf-8 charset as we most likely generated it as // guessed, use a utf-8 charset as we most likely generated it as
// such. // such.
entry.insert(hyper::header::HeaderValue::try_from( entry.insert(hyper::header::HeaderValue::try_from(
if (guess.type_() == mime::TEXT if (guess.type_() == mime::TEXT
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment