mirror of
https://github.com/flibusta-apps/books_downloader.git
synced 2025-12-06 06:55:37 +01:00
Update download result headers
This commit is contained in:
@@ -57,6 +57,10 @@ pub async fn download(
|
||||
header::CONTENT_LENGTH,
|
||||
format!("{file_size}")
|
||||
),
|
||||
(
|
||||
header::HeaderName::from_static("x-filename"),
|
||||
encoder.encode(filename_ascii),
|
||||
),
|
||||
(
|
||||
header::HeaderName::from_static("x-filename-b64"),
|
||||
encoder.encode(filename),
|
||||
|
||||
Reference in New Issue
Block a user