aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/afb-hreq.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/afb-hreq.c b/src/afb-hreq.c
index 5f44cba4..a8aae40d 100644
--- a/src/afb-hreq.c
+++ b/src/afb-hreq.c
@@ -272,6 +272,7 @@ static const char *mimetype_fd_name(int fd, const char *filename)
if (extension) {
static const char *const known[][2] = {
{ ".js", "text/javascript" },
+ { ".json", "application/json" },
{ ".html", "text/html" },
{ ".css", "text/css" },
{ ".ico", "image/x-icon"},