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

Update httpChecksum trait to uppercase algorithms #982

Merged
merged 1 commit into from
Nov 15, 2021

Conversation

kstich
Copy link
Contributor

@kstich kstich commented Nov 15, 2021

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@kstich kstich requested a review from a team as a code owner November 15, 2021 20:16
[WARNING] smithy.example#HeaderConflicts: The `httpHeader` binding of `x-amz-checksum-crc32` on `HeaderConflictError` starts with the prefix `x-amz-checksum-` used by the `httpChecksum` trait. | HttpChecksumTrait
[WARNING] smithy.example#HeaderConflicts: The `httpHeader` binding of `x-amz-checksum-crc32` on `HeaderConflictsInput` starts with the prefix `x-amz-checksum-` used by the `httpChecksum` trait. | HttpChecksumTrait
[WARNING] smithy.example#HeaderConflicts: The `httpHeader` binding of `x-amz-checksum-crc32` on `HeaderConflictsOutput` starts with the prefix `x-amz-checksum-` used by the `httpChecksum` trait. | HttpChecksumTrait
[WARNING] smithy.example#HeaderConflicts: The `httpHeader` binding of `x-amz-checksum-CRC32` on `HeaderConflictError` starts with the prefix `x-amz-checksum-` used by the `httpChecksum` trait. | HttpChecksumTrait
Copy link
Member

Choose a reason for hiding this comment

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

Shouldn't these have stayed the same?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Updating the error message to lowercase the conflicting header for these messages to match the defined location name behavior.

@kstich kstich force-pushed the httpChecksum_upper_names branch from 45d018a to 7334fbe Compare November 15, 2021 20:35
@kstich kstich force-pushed the httpChecksum_upper_names branch from 7334fbe to 7715d40 Compare November 15, 2021 20:37
@kstich kstich requested a review from mtdowling November 15, 2021 20:43
@kstich kstich merged commit 4944df0 into main Nov 15, 2021
@kstich kstich deleted the httpChecksum_upper_names branch November 15, 2021 20:48
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