From 3ff8a74afe7f7126227c18ca94d749e0f69ae988 Mon Sep 17 00:00:00 2001 From: "Joshua D. Boyd" Date: Mon, 14 Mar 2016 23:42:22 -0400 Subject: [PATCH] Add MIME types for fonts. --- src/civetweb.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/civetweb.c b/src/civetweb.c index 1ff543ba..bd9f013e 100644 --- a/src/civetweb.c +++ b/src/civetweb.c @@ -4845,6 +4845,15 @@ static const struct { {".xsl", 4, "application/xml"}, {".xslt", 5, "application/xml"}, + /* fonts */ + {".ttf", 4, "application/font-sfnt"}, + {".cff", 4, "application/font-sfnt"}, + {".otf", 4, "application/font-sfnt"}, + {".aat", 4, "application/font-sfnt"}, + {".sil", 4, "application/font-sfnt"}, + {".pfr", 4, "application/font-tdpfr"}, + {".woff", 5, "application/font-woff"}, + /* audio */ {".mp3", 4, "audio/mpeg"}, {".oga", 4, "audio/ogg"},