ruma_common::http_headers

Function sanitize_for_ascii_quoted_string

Source
pub fn sanitize_for_ascii_quoted_string(value: &str) -> Cow<'_, str>
Expand description

Remove characters that do not pass is_ascii_string_quotable() from the given string.