Signed-off-by: Vicente Jimenez Aguilar <[email protected]>
---
networking/httpd.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/networking/httpd.c b/networking/httpd.c
index 3f1e02ec8..b09ac0a2f 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"
--
2.20.1
Could not send it directly. So It is attached also.
--
saludos
vicente
From ea7845e943408f5ee9cd543312449b6411df8103 Mon Sep 17 00:00:00 2001
From: Vicente Jimenez Aguilar <[email protected]>
Date: Thu, 6 Jun 2019 17:12:55 +0200
Subject: [PATCH] Add svg to built in MIME types list
Signed-off-by: Vicente Jimenez Aguilar <[email protected]>
---
networking/httpd.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/networking/httpd.c b/networking/httpd.c
index 3f1e02ec8..b09ac0a2f 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"
--
2.20.1
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox