Skip to main content

non_empty_key

Function non_empty_key 

Source
pub fn non_empty_key(raw: Option<String>) -> Option<String>
Expand description

Return the key only when it has non-whitespace content; trimmed.

An empty or whitespace-only value is treated as unset so oo never sends an empty credential and gets a 401 instead of the missing-key error.