From 44119c6e02dc3968378a8a68405c3606cc6be39d Mon Sep 17 00:00:00 2001 From: Tom Streller Date: Sun, 19 Feb 2012 23:09:12 +0100 Subject: [PATCH] added svg content type --- yesod-core/Yesod/Content.hs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/yesod-core/Yesod/Content.hs b/yesod-core/Yesod/Content.hs index 41afaee0..5bf1c1a7 100644 --- a/yesod-core/Yesod/Content.hs +++ b/yesod-core/Yesod/Content.hs @@ -19,6 +19,7 @@ module Yesod.Content , typeJpeg , typePng , typeGif + , typeSvg , typeJavascript , typeCss , typeFlv @@ -196,6 +197,9 @@ typePng = "image/png" typeGif :: ContentType typeGif = "image/gif" +typeSvg :: ContentType +typeSvg = "image/svg+xml" + typeJavascript :: ContentType typeJavascript = "text/javascript; charset=utf-8"