Skip to main content

uniq_utf8

Function uniq_utf8 

Source
pub(super) fn uniq_utf8(
    map: &HeaderMap,
    name: impl AsHeaderName,
) -> Result<Option<&str>, HttpConnectError>
Expand description

Return the unique string-valued value of the header name; or None if the header doesn’t exist, or an error if the header is duplicated or not UTF-8.