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

Remove header from empty payload test #2336

Merged
merged 1 commit into from
Jun 21, 2024

Conversation

adamthom-amzn
Copy link
Contributor

Background

  • What do these changes do?

    When a header is bound to a member, it should be set in both params and headers or in neither. Other empty blob tests do not set a Content-Type header.

  • Why are they important?

    Request deserialization tests will fail if they explicitly check the header binding.

Testing

  • How did you test these changes?

    I didn't!

Links

  • Links to additional context, if necessary
  • Issue #, if applicable (see here for a list of keywords to use for linking issues)

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

When a header is bound to a member, it should be set in both params and
headers or in neither. Other empty blob tests do not set a Content-Type
header.
@adamthom-amzn adamthom-amzn requested a review from a team as a code owner June 21, 2024 02:21
@adamthom-amzn adamthom-amzn requested a review from syall June 21, 2024 02:21
@JordonPhillips JordonPhillips merged commit 3b73065 into smithy-lang:main Jun 21, 2024
13 checks passed
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