SVG is common enough to add it to the default types.
authorreyk <reyk@openbsd.org>
Wed, 7 Jan 2015 16:57:17 +0000 (16:57 +0000)
committerreyk <reyk@openbsd.org>
Wed, 7 Jan 2015 16:57:17 +0000 (16:57 +0000)
usr.sbin/httpd/http.h

index c03c5d5..54684fd 100644 (file)
@@ -1,4 +1,4 @@
-/*     $OpenBSD: http.h,v 1.9 2014/09/29 19:30:47 deraadt Exp $        */
+/*     $OpenBSD: http.h,v 1.10 2015/01/07 16:57:17 reyk Exp $  */
 
 /*
  * Copyright (c) 2012 - 2014 Reyk Floeter <reyk@openbsd.org>
@@ -218,6 +218,7 @@ struct http_mediatype {
        { "jpeg",       "image",        "jpeg" },       \
        { "jpg",        "image",        "jpeg" },       \
        { "png",        "image",        "png" },        \
+       { "svg",        "image",        "svg+xml" },    \
        { "js",         "application",  "javascript" }, \
        { NULL }                                        \
 }