vandium-io / vandium-node

AWS Lambda framework for building functions using Node.js for API Gateway, IoT applications, and other AWS events.
BSD 3-Clause "New" or "Revised" License
386 stars 30 forks source link

Support single 'Set-Cookie' header via 'setCookie' key in result obj #60

Closed riotrah closed 4 years ago

riotrah commented 5 years ago

Only supports a single 'Set-Cookie' as multiValueHeaders is not yet supported in this release.

If we can get multiValueHeaders in I'll implement multiple Set-Cookies.

Also, the assertions I added may not be in the most useful of places, currently we run the setCookie assertion 4 times in the .processResult() tests.

richardhyatt commented 4 years ago

Merged changes by hand