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

Add support for the httpchecksum required trait #523

Merged
merged 1 commit into from
Jun 21, 2021
Merged

Conversation

rcoh
Copy link
Collaborator

@rcoh rcoh commented Jun 21, 2021

Issue #, if available: #144
Description of changes: Add support for the httpChecksumRequired trait

Several S3 operations add httpChecksumRequired, a trait that specifies that the md5-checksum header should be added.

This adds:

  • an implementation of the trait
  • a rest-xml-extras protocol test
  • an s3 integration test validating the the value is set properly

It's not clear how this should behave on streaming binary input. For that reason, this PR takes a conservative stance and errors out during code generation if the trait is applied to streaming data.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@rcoh rcoh requested a review from jdisanti June 21, 2021 18:44
Copy link
Collaborator

@jdisanti jdisanti left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

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