Skip to main content

format_accept_query

Function format_accept_query 

Source
pub fn format_accept_query<I, S>(media_types: I) -> String
where I: IntoIterator<Item = S>, S: AsRef<str>,
Expand description

Serializes media ranges into a valid Structured Fields List for the Accept-Query header field, quoting values that are not valid Tokens.