Function scratchstack_aws_signature::normalize_query_parameters [−][src]
pub fn normalize_query_parameters(
query_string: &str
) -> Result<HashMap<String, Vec<String>>, SignatureError>
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.