Bug Report
Hi team, when constructing the CompressionEncoding, I think current implementation doesn't consider passed enabled_encodings: https://github.com/hyperium/tonic/blob/eb88e326c18f42e926ad7014107c0f5c3fd4d684/tonic/src/codec/compression.rs#L119-L126
While its counterpart, constructing encoding from HTTP header map does: https://github.com/hyperium/tonic/blob/eb88e326c18f42e926ad7014107c0f5c3fd4d684/tonic/src/codec/compression.rs#L140-L152
Version
Latest commit eb88e32
Platform
macos
Crates
N/A
Description
I'm trying to understanding compression encoding works and coincidentally find the inconsistency.
Bug Report
Hi team, when constructing the
CompressionEncoding, I think current implementation doesn't consider passedenabled_encodings: https://github.com/hyperium/tonic/blob/eb88e326c18f42e926ad7014107c0f5c3fd4d684/tonic/src/codec/compression.rs#L119-L126While its counterpart, constructing encoding from HTTP header map does: https://github.com/hyperium/tonic/blob/eb88e326c18f42e926ad7014107c0f5c3fd4d684/tonic/src/codec/compression.rs#L140-L152
Version
Latest commit eb88e32
Platform
macos
Crates
N/A
Description
I'm trying to understanding compression encoding works and coincidentally find the inconsistency.