diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-02-17 18:38:02 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-02-17 18:38:02 +0100 |
commit | dcb8972085027104ed470ab6e5d264a8156aab24 (patch) | |
tree | fad22aa82a5c4c209c00aaa35f186012cfe6f22f /src | |
parent | b6c2aad49e0442206e742b1f662f04013e2402b3 (diff) | |
download | exchange-dcb8972085027104ed470ab6e5d264a8156aab24.tar.xz |
expand mime list
Diffstat (limited to 'src')
-rw-r--r-- | src/mhd/mhd_legal.c | 2 |
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, '.'); |