aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mhd/mhd_legal.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mhd/mhd_legal.c b/src/mhd/mhd_legal.c
index 476b01c91..2ad1497c6 100644
--- 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, '.');