fn string_value_from_header( headers: &HeaderMap, header_key: &str, ) -> Result<Option<String>, (StatusCode, String)>