Skip to main content

parse_query

Function parse_query 

Source
pub fn parse_query(query: &str) -> Vec<(String, String)>
Expand description

Parse a=1&b=2 into pairs, decoding both sides.

Pairs are kept in order and duplicates preserved, so tags[]=a&tags[]=b can be read as a list.