From 9230f36c96d28a574da38effc50fda6f5f3d7d47 Mon Sep 17 00:00:00 2001 From: Benjamin Reis Date: Fri, 29 Mar 2024 16:53:29 +0100 Subject: [PATCH] Add svg content type in fileserver Signed-off-by: Benjamin Reis --- ocaml/xapi/fileserver.ml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ocaml/xapi/fileserver.ml b/ocaml/xapi/fileserver.ml index 1c4cf9520e3..671686964fa 100644 --- a/ocaml/xapi/fileserver.ml +++ b/ocaml/xapi/fileserver.ml @@ -68,6 +68,8 @@ let mime_of_extension = function "application/xml" | "rpm" -> "application/x-rpm" + | "svg" -> + "image/svg+xml" | _ -> application_octet_stream