Describe the issue/error/question
When attempting to send multiple cookies, as a response to a webhook call, the cookie headers get omitted.
By definition (Set-Cookie - HTTP | MDN), to send multiple cookies as part of the response, the header ‘Set-Cookie’ needs to be sent multiple times.
But, in the current scenario, if we do that in the Respond to Webhook
node, only one of the multiple Set-Cookie
is sent and the rest get omitted.
Please share the workflow
Share the output returned by the last node
Response sent from n8n:
Received data on the client:
This issue extends to the Webhook node as well.
Data sent from the client:
Data received by the Webhook node.
As seen in the above image, the multiple cookies received have all been clubbed under one header, thus making it infeasible to retrieve each of the cookies individually.
Information on your n8n setup
- n8n version: 0.219.1
- Database you’re using (default: SQLite): Postgres
- Running n8n with the execution process [own(default), main]: main
- Running n8n via [Docker, npm, n8n.cloud, desktop app]: Docker