You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The endpoint response which contains multiple set-cookie response headers:
The proxyRequest response only contains the last set-cookie header:
Expected Behaviour
proxyRequest proxies all set-cookie response headers
Additional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered:
Mokkapps
changed the title
proxyRequest with multiple 'set-cookie' headers gets merged into one header
[nuxt] proxyRequest with multiple 'set-cookie' headers gets merged into one header
May 9, 2023
Environment
Nuxt: 3.4.3
Node: 18.14.2
Reproduction
https://stackblitz.com/github/Mokkapps/nuxt-multiple-set-cookie?file=server/api/upstream.ts
Describe the bug
Current Behaviour
Only one
set-cookie
is returned from theproxyRequest
response:The endpoint response which contains multiple
set-cookie
response headers:The
proxyRequest
response only contains the lastset-cookie
header:Expected Behaviour
proxyRequest
proxies allset-cookie
response headersAdditional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered: