httpd: add svg to built in MIME types list
authorVicente Jimenez Aguilar <googuy@gmail.com>
Thu, 6 Jun 2019 15:12:55 +0000 (17:12 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Fri, 7 Jun 2019 07:31:57 +0000 (09:31 +0200)
Signed-off-by: Vicente Jimenez Aguilar <googuy@gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
networking/httpd.c

index 3f1e02ec8ab9039f8ddccc9bfb3ab110d8a26b0d..b09ac0a2f03ba01b567b2265cdd26ab3e772edc4 100644 (file)
@@ -1726,6 +1726,7 @@ static NOINLINE void send_file_and_exit(const char *url, int what)
                        ".jpg.jpeg\0" "image/jpeg\0"
                        ".gif\0"      "image/gif\0"
                        ".png\0"      "image/png\0"
+                       ".svg\0"      "image/svg+xml\0"
                        /* .css line must be after .c line */
                        ".css\0"      "text/css\0"
                        ".wav\0"      "audio/wav\0"