This uses tower-http crate's Decompression middleware, which adds Accept-Encodings to the requests and transparently decodes the response bodies. It should significantly reduce network traffic.
The REST API supports the efficient br encoding but the Streaming API v1 supports the gzip encoding only, so I enabled both the encodings.
This uses
tower-http
crate'sDecompression
middleware, which addsAccept-Encoding
s to the requests and transparently decodes the response bodies. It should significantly reduce network traffic.The REST API supports the efficient
br
encoding but the Streaming API v1 supports thegzip
encoding only, so I enabled both the encodings.