Skip to main content

encode_path_segment

Function encode_path_segment 

Source
pub fn encode_path_segment(value: &str) -> String
Expand description

Percent-encodes everything outside [A-Za-z0-9._~-], matching RFC 3986’s unreserved set for a single path segment.