MCPcopy Create free account
hub / github.com/aws/aws-cli / has_checksum_header

Function has_checksum_header

awscli/botocore/utils.py:3137–3144  ·  view source on GitHub ↗

Checks if a header starting with "x-amz-checksum-" is provided in a request. This function is considered private and subject to abrupt breaking changes or removal without prior announcement. Please do not use it directly.

(params)

Source from the content-addressed store, hash-verified

3135
3136
3137def has_checksum_header(params):
3138 """
3139 Checks if a header starting with "x-amz-checksum-" is provided in a request.
3140
3141 This function is considered private and subject to abrupt breaking changes or
3142 removal without prior announcement. Please do not use it directly.
3143 """
3144 return bool(get_checksum_algorithm_headers(params))
3145
3146
3147def conditionally_calculate_checksum(params, **kwargs):

Calls 1

Tested by

no test coverage detected