Skip to main content

pct_encode

Function pct_encode 

Source
pub fn pct_encode(s: &str) -> String
Expand description

Percent-encode a query-parameter VALUE per RFC 3986 (encode everything outside the unreserved set). Typed byte-wise encoder — NOT a format!() of the query string; the hex digits come from a fixed table.