added svg content type

This commit is contained in:
Tom Streller 2012-02-19 23:09:12 +01:00
parent 2e74df8e79
commit 44119c6e02

View File

@ -19,6 +19,7 @@ module Yesod.Content
, typeJpeg , typeJpeg
, typePng , typePng
, typeGif , typeGif
, typeSvg
, typeJavascript , typeJavascript
, typeCss , typeCss
, typeFlv , typeFlv
@ -196,6 +197,9 @@ typePng = "image/png"
typeGif :: ContentType typeGif :: ContentType
typeGif = "image/gif" typeGif = "image/gif"
typeSvg :: ContentType
typeSvg = "image/svg+xml"
typeJavascript :: ContentType typeJavascript :: ContentType
typeJavascript = "text/javascript; charset=utf-8" typeJavascript = "text/javascript; charset=utf-8"