Skip to main content

strip_aws_chunked_encoding

Function strip_aws_chunked_encoding 

Source
pub fn strip_aws_chunked_encoding(
    content_encoding: Option<&str>,
) -> Option<String>
Expand description

Strip the aws-chunked token from a client Content-Encoding so the stored object metadata reflects what AWS keeps (it consumes aws-chunked as a transfer detail; any remaining real encoding such as gzip is preserved). Returns None when nothing meaningful remains.