pub fn encode(s: &str) -> String
Percent-encoding of everything but the unreserved characters: a path segment or a query value.