Function percent_encode_param_value

Source
pub fn percent_encode_param_value<'a, R>(input: &'a R) -> Cow<'a, SoftAsciiStr>
where R: ?Sized + AsRef<[u8]>,
Expand description

percent encodes a byte sequence so that it can be used in a RFC 2231 conform encoded mime header parameter