actix_web::http::header

Function http_percent_encode

source
pub fn http_percent_encode(
    f: &mut Formatter<'_>,
    bytes: &[u8],
) -> Result<(), Error>
Expand description

Percent encode a sequence of bytes with a character set defined in RFC 5987 §3.2.