summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVicente Jimenez Aguilar2019-06-06 17:12:55 +0200
committerDenys Vlasenko2019-06-07 09:31:57 +0200
commit09b25ecc514c92ccc1443a2acc8f38ee081c1775 (patch)
treef6040101e0888c930324ccbb30f4cf5f53452206
parented042010dc8f6e2a5e1f06db1123b7472bfbf377 (diff)
downloadbusybox-09b25ecc514c92ccc1443a2acc8f38ee081c1775.zip
busybox-09b25ecc514c92ccc1443a2acc8f38ee081c1775.tar.gz
httpd: add svg to built in MIME types list
Signed-off-by: Vicente Jimenez Aguilar <googuy@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--networking/httpd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/networking/httpd.c b/networking/httpd.c
index 3f1e02e..b09ac0a 100644
--- a/networking/httpd.c
+++ b/networking/httpd.c
@@ -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"