summaryrefslogtreecommitdiff
path: root/src/mhd
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-02-17 18:38:02 +0100
committerChristian Grothoff <christian@grothoff.org>2020-02-17 18:38:02 +0100
commitdcb8972085027104ed470ab6e5d264a8156aab24 (patch)
treefad22aa82a5c4c209c00aaa35f186012cfe6f22f /src/mhd
parentb6c2aad49e0442206e742b1f662f04013e2402b3 (diff)
downloadexchange-dcb8972085027104ed470ab6e5d264a8156aab24.tar.gz
exchange-dcb8972085027104ed470ab6e5d264a8156aab24.tar.bz2
exchange-dcb8972085027104ed470ab6e5d264a8156aab24.zip
expand mime list
Diffstat (limited to 'src/mhd')
-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 476b01c9..2ad1497c 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, '.');