Merge remote-tracking branch 'employer/main' into main

main
_ 2022-04-22 11:28:37 -05:00
commit 94c5b0117f
1 changed files with 2 additions and 0 deletions

View File

@ -221,6 +221,8 @@ async fn serve_file (
response.header ("content-type".into (), b"application/javascript".to_vec ()); response.header ("content-type".into (), b"application/javascript".to_vec ());
} }
response.header ("content-length".into (), content_length.to_string ().into_bytes ());
response.content_length = Some (content_length); response.content_length = Some (content_length);
if let Some (body) = body { if let Some (body) = body {