Skip to content

Conversation

@aajtodd
Copy link
Contributor

@aajtodd aajtodd commented Nov 4, 2021

Issue #

fixes #390

Description of changes

This PR enables and fixes protocol tests from smithy 1.13 upgrade.

  • HttpBody.Empty has a content-length of 0 and we were sending Content-Length: 0, only send Content-Length header when positive
  • We were sending an empty body for structures targeted @httpPayload trait in restJson. We should instead be sending on an empty JSON body: {}.
  • upgrade smithy to latest bug fix release 1.13.1

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

@sonarqubecloud
Copy link

sonarqubecloud bot commented Nov 4, 2021

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@aajtodd aajtodd merged commit edb5d79 into main Nov 4, 2021
@aajtodd aajtodd deleted the fix-390 branch November 4, 2021 18:17
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.

Smithy 1.13 has new failing restJson tests

3 participants