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

Safe HaskellNone
LanguageHaskell2010

Network.Wai.Middleware.ContentType.Blaze

Synopsis

Documentation

blaze :: MonadIO m => Html -> FileExtListenerT (MiddlewareT m) m () Source

Uses Html as the key in the map, and "text/html" as the content type.