-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
enhancement: flexible checksums #2999
Open
stobrien89
wants to merge
2
commits into
aws:master
Choose a base branch
from
stobrien89:checksums-v2
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
stobrien89
force-pushed
the
checksums-v2
branch
3 times, most recently
from
September 18, 2024 17:40
3d43db0
to
22fb848
Compare
stobrien89
force-pushed
the
checksums-v2
branch
2 times, most recently
from
September 19, 2024 17:34
16cb321
to
c1b77ce
Compare
yenfryherrerafeliz
requested changes
Oct 8, 2024
stobrien89
force-pushed
the
checksums-v2
branch
from
October 8, 2024 21:42
c1b77ce
to
0762584
Compare
yenfryherrerafeliz
requested changes
Oct 9, 2024
stobrien89
force-pushed
the
checksums-v2
branch
2 times, most recently
from
October 10, 2024 23:14
a507de5
to
dce99fd
Compare
yenfryherrerafeliz
requested changes
Oct 11, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall looks good. Just some minor changes. I also did not see a test for when generating a presigned url with PUT operations and the checksum here should be omitted?
stobrien89
force-pushed
the
checksums-v2
branch
from
October 15, 2024 17:05
dce99fd
to
ccae080
Compare
stobrien89
requested review from
yenfryherrerafeliz
and removed request for
yenfryherrerafeliz
October 15, 2024 17:10
yenfryherrerafeliz
approved these changes
Oct 16, 2024
stobrien89
force-pushed
the
checksums-v2
branch
from
November 8, 2024 22:42
957bcfa
to
fef1fad
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description of changes:
Adds default checksum calculation, deprecates the
AddContentMD5
config option as S3 plans to deprecate MD5 checksums soon, adds two S3 client config options:request_checksum_calculation
andresponse_checksum_validation
with acceptable values for both being eitherwhen_supported
orwhen_required
.request_checksum_calculation
will default towhen_supported
, which means if an operation supports checksum calculation (indicated via modeling), the SDK will calculate the checksum and add the appropriate header. If it is set towhen_required
, the SDK will only compute and send a checksum when the operation requires anhttpRequestChecksum
.response_checksum_validation
also defaults towhen_supported
, which means if an operation models response algorithms, an attempt to validate a response checksum will be made.when_required
will only validate response checksums when response checksum are modeled ANDChecksumMode
is set toenabled
on the command.By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.