Skip to main content

Crate s3_headers_lite

Crate s3_headers_lite 

Source

Modules§

aws_canonical
aws_format
AWS-specific formatting.
aws_math
AWS-specific math.

Structs§

S3HeadersBuilder
ValidS3Url
A validated URL suitable for making S3 requests.

Enums§

S3DateTime
Specifies when a request is made. Used to derive the x-amz-date header and the SigV4 credential scope’s date.
S3HeadersError
Errors that can occur when constructing an S3HeadersBuilder or parsing a ValidS3Url.

Constants§

EMPTY_PAYLOAD_SHA
UNSIGNED_PAYLOAD
The payload-hash value used for presigned URLs. A presigned GET does not hash the request body; S3 accepts UNSIGNED-PAYLOAD.

Functions§

get_authorization_header
Only gets the authorirzation header.
get_headers
Gets all the headers necessary to make a request to a AWS compatible service.
get_range_headers
Gets the headers necessary to ask for a byte range.
presign_get
Build a presigned GET URL for downloading url directly from an S3-compatible service.
presign_get_with_key
Build a presigned GET URL using a pre-computed SigV4 signing key.