Safe Haskell | None |
---|---|
Language | Haskell98 |
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