Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only set default checksum if request_checksum_calculation config is set to when_supported #329

Merged

Conversation

jonathan343
Copy link
Contributor

Addresses: #327

This PR checks the request_checksum_calculation config on the S3 client before setting a default checksum for both non-MPU and MPU. If request_checksum_calculation is set to when_supported, the default checksum from botocore (currently CRC32) is applied. If request_checksum_calculation is set to when_required, no default checksum is applied.

@jonathan343 jonathan343 merged commit bc23c92 into boto:develop Jan 23, 2025
39 checks passed
aws-sdk-python-automation added a commit that referenced this pull request Jan 23, 2025
* release-0.11.2:
  Bumping version to 0.11.2
  Only set default checksum if ``request_checksum_calculation`` config is set to ``when_supported`` (#329)
hswong3i pushed a commit to alvistack/boto-s3transfer that referenced this pull request Jan 24, 2025
…is set to ``when_supported`` (boto#329)

* Only set default checksum if ``request_checksum_calculation`` config is set to ``when_supported``

* Add changelog entry
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants