pub(crate) fn de_blob_payload(
body: &[u8],
) -> std::result::Result<::std::option::Option<::aws_smithy_types::Blob>, crate::operation::get_map_glyphs::GetMapGlyphsError> {
(!body.is_empty()).then(|| Ok(::aws_smithy_types::Blob::new(body))).transpose()
}
pub(crate) fn de_cache_control_header(
header_map: &::http::HeaderMap,
) -> std::result::Result<::std::option::Option<::std::string::String>, ::aws_smithy_http::header::ParseError> {
let headers = header_map.get_all("Cache-Control").iter();
::aws_smithy_http::header::one_or_none(headers)
}
pub(crate) fn de_content_type_header(
header_map: &::http::HeaderMap,
) -> std::result::Result<::std::option::Option<::std::string::String>, ::aws_smithy_http::header::ParseError> {
let headers = header_map.get_all("Content-Type").iter();
::aws_smithy_http::header::one_or_none(headers)
}