kvarn_utils::parse

Function query

source
pub fn query(query: &str) -> Query<'_>
Expand description

Parses a query to a map between keys and their values, as specified in the query.

query should not contain the ?, but start the byte after.

Both the keys and values can be empty.

This decodes the URI’s percent encoding.