Portability | non-portable (uses ghc extensions) |
---|---|
Stability | experimental |
Maintainer | ajnsit@gmail.com |
Safe Haskell | None |
Defines the commonly used content types
- contentType :: HeaderName
- typeHtml :: ByteString
- typePlain :: ByteString
- typeJson :: ByteString
- typeXml :: ByteString
- typeAtom :: ByteString
- typeRss :: ByteString
- typeJpeg :: ByteString
- typePng :: ByteString
- typeGif :: ByteString
- typeSvg :: ByteString
- typeJavascript :: ByteString
- typeCss :: ByteString
- typeFlv :: ByteString
- typeOgv :: ByteString
- typeOctet :: ByteString
Construct content Type
contentType :: HeaderNameSource
Creates a content type header
Ready to be passed to responseLBS