return inline
Content-Disposition based on the detected file type (e.g. image/video)
Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
parent
d4d9f92ade
commit
2231ccf118
3 changed files with 60 additions and 11 deletions
7
Cargo.lock
generated
7
Cargo.lock
generated
|
@ -594,6 +594,7 @@ dependencies = [
|
|||
"hyper 1.3.1",
|
||||
"hyper-util",
|
||||
"image",
|
||||
"infer",
|
||||
"ipaddress",
|
||||
"itertools",
|
||||
"jsonwebtoken",
|
||||
|
@ -1605,6 +1606,12 @@ dependencies = [
|
|||
"serde",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "infer"
|
||||
version = "0.3.7"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "865e8a58ae8e24d2c4412c31344afa1d302a3740ad67528c10f50d6876cdcf55"
|
||||
|
||||
[[package]]
|
||||
name = "inlinable_string"
|
||||
version = "0.1.15"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue