[][src]Function gotham_middleware_aws_sig_verify::normalize_query_parameters

pub fn normalize_query_parameters(
    query_string: &str
) -> Result<HashMap<String, Vec<String>, RandomState>, SignatureError>

Re-export aws_sig_verify so users don't have to compute versions. Normalize the query parameters by normalizing the keys and values of each parameter and return a HashMap mapping each key to a vector of values (since it is valid for a query parameters to appear multiple times).

The order of the values matches the order that they appeared in the query string -- this is important for SigV4 validation.