wai-middleware-content-type-0.0.3.3: Route to different middlewares based on the incoming Accept header.

Safe HaskellNone
LanguageHaskell2010

Network.Wai.Middleware.ContentType.Text

Synopsis

Documentation

text :: MonadIO m => Text -> FileExtListenerT (MiddlewareT m) m () Source

Uses Text as the key in the map, and "text/plain" as the content type.