Skip to main content

percent_encode

Function percent_encode 

Source
pub fn percent_encode(s: &str, keep_slash: bool) -> String
Expand description

Percent-encode everything except RFC 3986 unreserved characters and, if keep_slash, /.