Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
- contentType :: String -> Header
- contentJSON :: Header
- contentXML :: Header
- basicAuth :: ByteString -> ByteString -> Header
Documentation
contentType :: String -> Header Source #
Create a new content type header
contentJSON :: Header Source #
Return a JSON content type header
contentXML :: Header Source #
Return an XML content type header
basicAuth :: ByteString -> ByteString -> Header Source #
Helper to generate Basic authentication