Cookies not being set with AWS SAM HttpApi running locally
Closed this issue · 4 comments
hooverdc commented
Python Version
3.8
Package Version
2.11.0
Description
Running locally with SAM using sam local start-api
and a V2 HttpApi event source. cookies aren't being set. For context, I'm running a Flask app in a Lambda container image. Cookie headers are sent correctly when using the V1 Api event source.
adamchainz commented
I don't use SAM. Can you provide an example project that replicates the issue?
hooverdc commented
This should do it: https://github.com/hooverdc/sam-apig-wsgi
hooverdc commented
This was an issue with SAM.
adamchainz commented
Thanks for confirming.