Merge remote-tracking branch 'employer/main' into main
commit
94c5b0117f
|
@ -221,6 +221,8 @@ async fn serve_file (
|
|||
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);
|
||||
|
||||
if let Some (body) = body {
|
||||
|
|
Loading…
Reference in New Issue