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

Honor "request_checksum_calculation = WHEN_REQUIRED" in config (#327) #328

Closed
wants to merge 1 commit into from

Conversation

metadaddy
Copy link

@metadaddy metadaddy commented Jan 18, 2025

As mentioned in #327, aws s3 cp does not honor the request_checksum_calculation configuration, sending an x-amz-sdk-checksum-algorithm header even when request_checksum_calculation is set to WHEN_REQUIRED.

This change adds a check to TransferManager._add_operation_defaults() so that it only calls set_default_checksum_algorithm() if request_checksum_calculation is set to WHEN_SUPPORTED.

@metadaddy
Copy link
Author

Closing, since this was implemented as #329

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.

1 participant