summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mime.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mime.c b/src/mime.c
index 5722357..1a60ae0 100644
--- a/src/mime.c
+++ b/src/mime.c
@@ -23,6 +23,9 @@ gmnisrv_mimetype_for_path(const char *path)
if (has_suffix(path, ".txt")) {
return "text/plain";
}
+ if (has_suffix(path, ".xml")) {
+ return "text/xml";
+ }
if (has_suffix(path, ".png")) {
return "image/png";
}