Skip to content

Fix streaming prelude serialization #692

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

Merged
merged 3 commits into from
Sep 5, 2023
Merged

Fix streaming prelude serialization #692

merged 3 commits into from
Sep 5, 2023

Conversation

calavera
Copy link
Contributor

@calavera calavera commented Sep 4, 2023

Description of changes:

HTTP headers can be multi-value, but the current implementation ignores this fact and only serializes the first value for each header.

This changes uses http-serde to serialize the prelude correctly.

By submitting this pull request

  • I confirm that my contribution is made under the terms of the Apache 2.0 license.
  • I confirm that I've made a best effort attempt to update all relevant documentation.

HTTP headers can be multi-value, but the current implementation ignores this fact and only serializes the first value for each header.

This changes uses http-serde to serialize the prelude correctly.

Signed-off-by: David Calavera <[email protected]>
@calavera calavera force-pushed the fix_streaming_prelude branch from dce0530 to 1ebbf9b Compare September 4, 2023 17:09
Some dependencies have dropped support for 1.62 already.

Signed-off-by: David Calavera <[email protected]>
@calavera calavera requested a review from bnusunny September 4, 2023 19:04
Signed-off-by: David Calavera <[email protected]>
@bnusunny
Copy link
Contributor

bnusunny commented Sep 5, 2023

Thanks for spotting this. Lambda Function URLs doesn't support multiple value HTTP headers. The original version was designed with that in mind. But for direct API calls or SDK invokes, this limit should not apply.

@calavera calavera merged commit e6ac88f into main Sep 5, 2023
@calavera calavera deleted the fix_streaming_prelude branch September 5, 2023 02:59
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