-
Notifications
You must be signed in to change notification settings - Fork 406
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
Feature request: Response should support multiValueHeaders #1450
Comments
Thanks for opening your first issue here! We'll come back to you as soon as we can. |
@rubenfonseca when you can, could you share the update here as this was implemented for v2? |
re-assigning @rubenfonseca for visibility as this is already done in V2 and ready to go by Friday or next week (in case we spot anything wrong in V2 final tests) |
Closing as we're wrap to launch V2 |
|
Use case
I have a lambda function with an ALB event source, I was attempting to use
Response
(from aws_lambda_powertools.event_handler import content_types, Response)
instead of constructing the response by handinstead of
the ALB responds with a 502 when using Response I suspect it is because multiValueHeaders is not included in the response.
To get around this, I am doing the following but it is not elegant
Solution/User Experience
I would like for the Response object to be able to detect
multiValueHeaders
in the request and use that to determine if the response should do the sameAlternative solutions
Acknowledgment
The text was updated successfully, but these errors were encountered: