This commit is contained in:
2023-06-02 20:23:16 +02:00
parent 780a8bd899
commit c125598b8e

View File

@@ -49,7 +49,7 @@ pub async fn download(
let stream = ReaderStream::new(reader);
let body = StreamBody::new(stream);
let encoder = general_purpose::STANDARD_NO_PAD;
let encoder = general_purpose::STANDARD;
let headers = AppendHeaders([
(header::CONTENT_DISPOSITION, format!("attachment; filename={filename_ascii}")),