wala-rust

Unnamed repository; edit this file 'description' to name the repository.
Info | Log | Files | Refs | README | LICENSE

commit 37546c648b419752f38d89929075acaaaa09ff78
parent 34378ad1adef20a3e2479b7740ebdc2c7433ac03
Author: lash <dev@holbrook.no>
Date:   Sun,  2 Oct 2022 11:02:30 +0000

Use inline disposition for images

Diffstat:
Msrc/response.rs | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/response.rs b/src/response.rs @@ -118,6 +118,9 @@ pub fn exec_response(req: Request, r: RequestResult) { mime::TEXT => { String::from("inline") }, + mime::IMAGE => { + String::from("inline") + }, _ => { String::from("attachment") },