Safe Haskell | None |
---|---|
Language | Haskell2010 |
- gunzip :: Middleware
Documentation
This WAI middleware transparently unzips HTTP request bodies if
a request header Content-Encoding: gzip
is found.
Please note that the requestBodyLength
is set to ChunkedBody
if the body is unzipped since we do not know the uncompressed
length yet.