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

fix: populate content-type header for all events #567

Merged

Conversation

AllanZhengYP
Copy link
Contributor

Issue #, if available:
Ref: P66766800

Description of changes:
Populate the :content-type header for all the event messages. It was missed previously. When the payload shape is blob, the value is application/octet-stream; When the payload shape is string, the value is text/plain, When the payload shape is Union or Structure, the value is the protocol's content type.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@AllanZhengYP AllanZhengYP merged commit acf2ede into smithy-lang:main Jun 29, 2022
srchase pushed a commit to srchase/smithy-typescript that referenced this pull request Mar 17, 2023
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