Expand description
Canonical request construction for AWS Signature Version 4.
This module implements the canonical request format as specified by AWS:
HTTPRequestMethod\n
CanonicalURI\n
CanonicalQueryString\n
CanonicalHeaders\n\n
SignedHeaders\n
HashedPayloadEach component is normalized according to the AWS specification to ensure deterministic signature computation.
Functionsยง
- build_
canonical_ headers - Build the canonical headers string from the request headers.
- build_
canonical_ query_ string - Build the canonical query string by sorting parameters.
- build_
canonical_ request - Build the full canonical request string from its components.
- build_
canonical_ uri - Build the canonical URI by URI-encoding each path segment individually.
- build_
signed_ headers_ string - Build the signed headers string as a semicolon-separated list of lowercase header names.