[][src]Function net::url::path_unescape

pub fn path_unescape(s: &str) -> Result<String, Error>

path_unescape does the inverse transformation of path_escape, converting each 3-byte encoded substring of the form "%AB" into the hex-decoded byte 0xAB. It returns an error if any % is not followed by two hexadecimal digits.

path_unescape is identical to query_unescape except that it does not unescape '+' to ' ' (space).