Skip to main content

parse_query_compatible_header

Function parse_query_compatible_header 

Source
pub fn parse_query_compatible_header(headers: &Headers) -> Option<(&str, &str)>
Expand description

Parses an X-Amzn-Query-Error: <code>;<type> header into its (code, type) halves, as emitted by awsQueryCompatible services.

Returns None if the header is absent or has no ; separator.