-
Notifications
You must be signed in to change notification settings - Fork 403
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: Support cookies in Lambda function response for format 2.0 #1192
Comments
Thanks for opening your first issue here! We'll come back to you as soon as we can. |
Good idea! There are more cumbersome way, but format 2.0 does make it easier. Once this has been "approved" / "triaged", it should be an easy addition to the API GW handler. |
Changes: - Add cookies field in Response - For http api gateway format 2.0 responses serialize to cookies - For alb and rest api use multiValueHeaders closes aws-powertools#1192
Removing |
Closing as we're wrap to launch V2 |
|
Use case
I am using the
Router
class to setup some resolvers for use withAPIGatewayHttpResolver
, and I would like to be able to set cookies in my customisedResponse
object, but this is not currently possible.According to the APIGateway response documentation, the format for this is
Solution/User Experience
Would be great to be able to just be able to do something like
Alternative solutions
No response
Acknowledgment
The text was updated successfully, but these errors were encountered: