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 bodyMediaType to malformed request tests #2309

Merged
merged 1 commit into from
Jun 5, 2024
Merged

Conversation

kstich
Copy link
Contributor

@kstich kstich commented Jun 5, 2024

This commit adds the bodyMediaType field to request definitions in httpMalformedRequestsTests. Specifying the body media type allows tests to specify protocols that use binary-based serialization formats, like Smithy RPCv2 CBOR, as their bodies must be base64-encoded in models.

Resolves #1932


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

This commit adds the bodyMediaType field to request definitions in
httpMalformedRequestsTests. Specifying the body media type allows tests
to specify protocols that use binary-based serialization formats, like
Smithy RPCv2 CBOR, as their bodies must be base64-encoded in models.
@kstich kstich requested a review from a team as a code owner June 5, 2024 18:02
@kstich kstich requested a review from AndrewFossAWS June 5, 2024 18:02
@kstich kstich merged commit 8b969b3 into main Jun 5, 2024
14 checks passed
@kstich kstich deleted the malformed_body_media_type branch June 5, 2024 18:16
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.

Body media type in HTTP malformed request tests
2 participants