Open
Description
clj-http has middleware support for automatically decoding compressed body data via wrap-decompression
. As aleph's HTTP client has the explicit goal of clj-http compatibility, we should add this too.
Right now, if you send the header "accept-encoding: gzip, deflate" and get a compressed body back, you have to manually decompress it yourself.
gzip and deflate are the minimum necessary; brotli support should also be added, if available.