From d8578b6b0c6b47b3a5e42a2ef37532684a864c1b Mon Sep 17 00:00:00 2001 From: reyk Date: Wed, 7 Jan 2015 16:57:17 +0000 Subject: [PATCH] SVG is common enough to add it to the default types. --- usr.sbin/httpd/http.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/usr.sbin/httpd/http.h b/usr.sbin/httpd/http.h index c03c5d5cace..54684fd7368 100644 --- a/usr.sbin/httpd/http.h +++ b/usr.sbin/httpd/http.h @@ -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 @@ -218,6 +218,7 @@ struct http_mediatype { { "jpeg", "image", "jpeg" }, \ { "jpg", "image", "jpeg" }, \ { "png", "image", "png" }, \ + { "svg", "image", "svg+xml" }, \ { "js", "application", "javascript" }, \ { NULL } \ } -- 2.20.1