Function encode_proxy_basic_auth
Source pub fn encode_proxy_basic_auth(raw: &str) -> String
Expand description
Encodes raw proxy credentials ("user:pass") into an HTTP Basic <base64> header value, or preserves pre-prefixed auth schemes.
§Arguments
&str - Raw proxy credential string (e.g. "dev:secret", "Basic ...", or "Bearer ...").
§Returns
String - Normalized Proxy-Authorization header value.