Skip to main content

parse_basic_auth

Function parse_basic_auth 

Source
pub fn parse_basic_auth(value: &str) -> Option<(String, String)>
Expand description

Parse Basic authentication from a Proxy-Authorization header value.

Exposed for fuzzing. Returns None if the value is not a Basic auth header.