Skip to main content

split_authorization

Function split_authorization 

Source
pub fn split_authorization(header_value: &str) -> Option<(&str, &str)>
Expand description

The scheme and credentials of an Authorization header value. Schemes are case-insensitive (RFC 9110 §11.1), so compare them with eq_ignore_ascii_case.