We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
set-cookie
I am using this library (v3.2.0) with an Express (4.17.1) app.
I have two routes. First route sets a single set-cookie. The second route sets multiple set-cookies.
I can confirm that the headers are there on the response by doing the following:
module.exports.handler = serverless(app, { response(response) { console.log(response) return response } })
I have multiValueHeaders set in my serverless.yml file since I know that can be an issue here.
multiValueHeaders
serverless.yml
For some reason, in the actual response, I don't see any set-cookie headers on the second endpoint, only the first.
I have switched to serverless-express since that seems to work in my case, but thought I'd post an issue here in case it trips anyone else up.
serverless-express
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I am using this library (v3.2.0) with an Express (4.17.1) app.
I have two routes. First route sets a single
set-cookie
. The second route sets multipleset-cookie
s.I can confirm that the headers are there on the response by doing the following:
I have
multiValueHeaders
set in myserverless.yml
file since I know that can be an issue here.For some reason, in the actual response, I don't see any
set-cookie
headers on the second endpoint, only the first.I have switched to
serverless-express
since that seems to work in my case, but thought I'd post an issue here in case it trips anyone else up.The text was updated successfully, but these errors were encountered: