commit dcb8972085027104ed470ab6e5d264a8156aab24
parent b6c2aad49e0442206e742b1f662f04013e2402b3
Author: Christian Grothoff <christian@grothoff.org>
Date: Mon, 17 Feb 2020 18:38:02 +0100
expand mime list
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/mhd/mhd_legal.c b/src/mhd/mhd_legal.c
@@ -331,6 +331,8 @@ load_terms (struct TALER_MHD_Legal *legal,
{ .ext = ".jpeg", .mime = "image/jpeg" },
{ .ext = ".png", .mime = "image/png" },
{ .ext = ".gif", .mime = "image/gif" },
+ { .ext = ".epub", .mime = "application/epub+zip" },
+ { .ext = ".xml", .mime = "text/xml" },
{ .ext = NULL, .mime = NULL }
};
const char *ext = strrchr (name, '.');