[PATCH] Add svg to built in MIME types list
Vicente Jiménez
googuy at gmail.com
Thu Jun 6 15:41:34 UTC 2019
Signed-off-by: Vicente Jimenez Aguilar <googuy at gmail.com>
---
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-svg-to-built-in-MIME-types-list.patch
Type: text/x-patch
Size: 808 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20190606/cb1d6996/attachment.bin>
More information about the busybox
mailing list