diff options
-rw-r--r-- | src/listing.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/listing.rs b/src/listing.rs index ed3b63d..c4daf88 100644 --- a/src/listing.rs +++ b/src/listing.rs @@ -238,7 +238,6 @@ pub fn directory_listing<S>( log::info!("{file} successfully created !", file = &filename); Ok(HttpResponse::Ok() .content_type(compression_method.content_type()) - .content_length(content.len() as u64) .content_encoding(compression_method.content_encoding()) .header("Content-Transfer-Encoding", "binary") .header( |