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
Set-Cookie
header in their response object via asetCookie
key, which will be defined onheaders
asSet-Cookie
.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.