pub fn decompress_body(
header: Option<&str>,
body: Bytes,
) -> Result<Bytes, ErrorMessage>Expand description
Decompresses the body based on the Content-Encoding header.
Supports gzip, deflate, snappy, zstd, and identity (no compression).
pub fn decompress_body(
header: Option<&str>,
body: Bytes,
) -> Result<Bytes, ErrorMessage>Decompresses the body based on the Content-Encoding header.
Supports gzip, deflate, snappy, zstd, and identity (no compression).