X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;ds=sidebyside;f=src%2Fafb-hreq.c;fp=src%2Fafb-hreq.c;h=a8aae40d8d6aa88f25c5aeeab80bbfa0103858cc;hb=7ac6622e9175764e0ce1eeaeed9a26acee26e42a;hp=5f44cba4753cb7b26cb15251dea713510ea6126a;hpb=1a6a680c413b21eeb781a92d0fee7ee6e5fb619b;p=src%2Fapp-framework-binder.git 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"},