Function uhttp_content_encoding::content_encodings
[−]
[src]
pub fn content_encodings<'a>(
s: &'a str
) -> impl Iterator<Item = ContentEncoding<'a>>
Create an iterator over content encoding layers from the given string in the
form used by the
Content-Encoding
header field.
Encodings are yielded in the order they must be decoded, with the outermost layer yielded first and the innermost layer yielded last.