wai-middleware-content-type-0.3.0: Route to different middlewares based on the incoming Accept header.
Network.Wai.Middleware.ContentType.Text
Contents
Synopsis
text :: Monad m => Text -> FileExtListenerT (Status -> ResponseHeaders -> Response) m () Source
textOnly :: Text -> Status -> ResponseHeaders -> Response Source