HTTP Gateway V2: Remove use of obsolete multiValueHeaders#216
Conversation
HTTP Gateway V2 drops both the multiValueHeaders and multiValueQueryStringParameters elements. With this change: * Cookies passed to request and response as cookie element containing list of all cookie values. * Headers with multiple values are concatenated through comma and passed under Headers element instead of the obsolete multiValueHeaders. https://medium.com/@lancers/amazon-api-gateway-explaining-lambda-payload-version-2-0-in-http-api-24b0b4db5d36 https://aws.amazon.com/blogs/compute/building-better-apis-http-apis-now-generally-available/ Addresses issue Kludex#215.
|
@koxudaxi if you have availability, could you review this? I am currently stuck overseas due to COVID, and won’t be able to properly review anything for a few weeks yet. |
|
@IlyaSukhanov @jordaneremieff |
|
@jordaneremieff Thank you! I hope you're able to get back soon from your travels. @koxudaxi appreciate the review. |
|
Thanks for the PR @IlyaSukhanov and the well wishes - I've fortunately been able to return home just today. 🙂 And thank you for taking the time to review this @koxudaxi. 👍 I'm still getting adjusted back into my routines and refreshing myself on the state of this project, but will try to do a release sometime soon. |
HTTP Gateway V2 drops both the multiValueHeaders and multiValueQueryStringParameters elements. With this change: * Cookies passed to request and response as cookie element containing list of all cookie values. * Headers with multiple values are concatenated through comma and passed under Headers element instead of the obsolete multiValueHeaders. https://medium.com/@lancers/amazon-api-gateway-explaining-lambda-payload-version-2-0-in-http-api-24b0b4db5d36 https://aws.amazon.com/blogs/compute/building-better-apis-http-apis-now-generally-available/ Addresses issue Kludex#215.
HTTP Gateway V2 drops both the multiValueHeaders and
multiValueQueryStringParameters elements.
With this change:
containing list of all cookie values.
and passed under Headers element instead of the obsolete
multiValueHeaders.
https://medium.com/@lancers/amazon-api-gateway-explaining-lambda-payload-version-2-0-in-http-api-24b0b4db5d36
https://aws.amazon.com/blogs/compute/building-better-apis-http-apis-now-generally-available/
Addresses issue #215.