| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Network.Wai.Middleware.Gunzip
Synopsis
- gunzip :: Middleware
Documentation
gunzip :: Middleware Source #
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.