serve_file: add headers

Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
This commit is contained in:
2025-11-09 14:38:21 +05:30
parent a805f58243
commit 38d191bd92
3 changed files with 50 additions and 11 deletions

View File

@@ -8,6 +8,7 @@ edition = "2024"
[dependencies]
axum = { version = "0.8.6", features = ["multipart"] }
futures-util = "0.3.31"
mime_guess= "*"
rand = "*"
tokio = { version = "1.48.0", features = ["full"] }
tokio-util = { version = "0.7.17", features = ["io"] }
rand = "*"