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

Build backwards compat for multiValueHeaders and multiValueQueryStringParameters? #288

Open
ryanblock opened this issue Sep 16, 2020 · 0 comments

Comments

@ryanblock
Copy link
Member

API Gateway HTTP APIs don't support REST API params of multiValueHeaders or multiValueQueryStringParameters.

Format 2.0 doesn't have multiValueHeaders or multiValueQueryStringParameters fields. Duplicate headers are combined with commas and included in the headers field. Duplicate query strings are combined with commas and included in the queryStringParameters field.
See: https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-lambda.html#http-api-develop-integrations-lambda.proxy-format

I'm wondering if it's feasible to enable backward compat for those params in HTTP APIs to ease upgrades – given the fact that duplicate headers are combined with commas, however, that tells me we are unlikely to be able to do so in a non-lossy, deterministic fashion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant