summaryrefslogtreecommitdiffstats
path: root/src/plugins/http/http.c
diff options
context:
space:
mode:
authorDave Barach <dave@barachs.net>2022-12-07 14:19:15 -0500
committerFlorin Coras <florin.coras@gmail.com>2022-12-08 15:40:02 +0000
commitc0a2527a83dde2c23dad2bb0d28ef4cf64da6c6c (patch)
tree5da971021d700a99651f876dc8e85d3eb7fe1d29 /src/plugins/http/http.c
parent919fdad6bc54d0ed6e2ac842770e9e77c5cbc0a6 (diff)
http_static: derive mime type from file extensions
Type: improvement Signed-off-by: Dave Barach <dave@barachs.net> Change-Id: I0f087477e257f5119d7d6182d19f8796773a1f19
Diffstat (limited to 'src/plugins/http/http.c')
-rw-r--r--src/plugins/http/http.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/http/http.c b/src/plugins/http/http.c
index 27801e8c34f..d25123a757d 100644
--- a/src/plugins/http/http.c
+++ b/src/plugins/http/http.c
@@ -37,7 +37,7 @@ const char *http_status_code_str[] = {
};
const char *http_content_type_str[] = {
-#define _(s, str) str,
+#define _(s, ext, str) str,
foreach_http_content_type
#undef _
};