1
0
forked from aniani/gmnisrv

mime: add .xml -> text/xml

This commit is contained in:
Drew DeVault 2020-09-27 00:46:38 -04:00
parent 71bbd1b315
commit 1f229ba123

View File

@ -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";
}