form_urlencoded

Function parse

source
pub fn parse(input: &[u8]) -> Parse<'_> 
Expand description

Convert a byte string in the application/x-www-form-urlencoded syntax into a iterator of (name, value) pairs.

Use parse(input.as_bytes()) to parse a &str string.

The names and values are percent-decoded. For instance, %23first=%25try%25 will be converted to [("#first", "%try%")].