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 headers for sigv4 and restJson1 for apig #868

Merged

Conversation

JordonPhillips
Copy link
Contributor

This updates the lists of headers needed for sigv4 and for the restJson1 protocol in the openapi conversion. It also ensures that those headers are added to cors configurations for apig.

A few notes:

  • I'm only 95% sure that X-Amzn-Trace-Id isn't present in responses.
  • I didn't include X-Amz-Retry-After since only one SDK uses it, and it is mostly obsoleted by adaptive retries.
  • I didn't include any service-specific headers, such as X-Amz-Crc32. These can be configured if the service actually makes use of them.

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

This updates the lists of headers needed for sigv4 and for the
restJson1 protocol in the openapi conversion. It also ensures
that those headers are added to cors configurations for apig.
This updates the openapi request/response header lists to account for
the various http checksum traits.
@JordonPhillips JordonPhillips requested a review from kstich July 30, 2021 15:03
@JordonPhillips JordonPhillips force-pushed the cors-protocol-headers branch from 0b2b5e8 to 20e45b7 Compare July 30, 2021 15:33
@JordonPhillips JordonPhillips merged commit 7f7ea98 into smithy-lang:main Aug 3, 2021
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