Skip to content

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 <david.calavera@gmail.com>
@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 <david.calavera@gmail.com>
@calavera calavera requested a review from bnusunny September 4, 2023 19:04
Signed-off-by: David Calavera <david.calavera@gmail.com>
@bnusunny
Copy link
Collaborator

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