set content-disposition to attachment instead of inline
Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
parent
42e3567153
commit
43c4dfc5df
2 changed files with 8 additions and 6 deletions
|
@ -16,6 +16,7 @@ use crate::{services, utils, Error, Result};
|
|||
|
||||
#[derive(Debug)]
|
||||
pub(crate) struct FileMeta {
|
||||
#[allow(dead_code)]
|
||||
pub(crate) content_disposition: Option<String>,
|
||||
pub(crate) content_type: Option<String>,
|
||||
pub(crate) file: Vec<u8>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue