Skip to main content

first_non_empty

Function first_non_empty 

Source
fn first_non_empty(
    headers: &HashMap<String, Vec<String>>,
    header: &str,
) -> Option<String>
Expand description

Returns the first non-empty value of header in headers.