pub fn encode_path(s: &str) -> impl Iterator<Item = &str>
Encode a string to allow it to be added to a URL path.