Exposing toWaiAppPlain

This commit is contained in:
Michael Snoyman 2010-12-26 20:13:08 +02:00
parent 0c946de756
commit 3a5969b8e8
2 changed files with 2 additions and 1 deletions

View File

@ -225,7 +225,7 @@ simpleContentType :: String -> String
simpleContentType = fst . span (/= ';')
-- | A default extension to mime-type dictionary.
typeByExt :: [(String, ContentType)]
typeByExt :: [(String, ContentType)] -- FIXME move to yesod-static
typeByExt =
[ ("jpg", typeJpeg)
, ("jpeg", typeJpeg)

View File

@ -19,6 +19,7 @@ module Yesod.Dispatch
, Strings
-- * Convert to WAI
, toWaiApp
, toWaiAppPlain
#if TEST
, dispatchTestSuite
#endif