Module parsing

Source
Expand description

Utility functions for Header implementations.

Structs§

ExtendedValue
An extended header parameter value (i.e., tagged with a character set and optionally, a language), as defined in RFC 5987.

Functions§

fmt_comma_delimited
Format an array into a comma-delimited string.
from_comma_delimited
Reads a comma-delimited raw header into a Vec.
from_one_raw_str
Reads a single raw string when parsing a header.
from_raw_str
Reads a raw string into a value.
http_percent_encode
Percent encode a sequence of bytes with a character set defined in https://tools.ietf.org/html/rfc5987#section-3.2
parse_extended_value
Parses extended header parameter values (ext-value), as defined in RFC 5987.