From fe34543bc7df2a1e3de5f05657e10aac355475a9 Mon Sep 17 00:00:00 2001 From: Reyk Floeter Date: Wed, 7 Jan 2015 17:57:55 +0100 Subject: SVG is common enough to add it to the default types. --- http.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/http.h b/http.h index c03c5d5..54684fd 100644 --- a/http.h +++ b/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 } \ } -- cgit v1.2.3-54-g00ecf