Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Some helpers for dealing with WAI Header
s.
- contentLength :: [(HeaderName, ByteString)] -> Maybe Integer
Documentation
contentLength :: [(HeaderName, ByteString)] -> Maybe Integer Source #
More useful for a response. A Wai Request already has a requestBodyLength