Request returning multiple set-cookies returns only the first set-cookie #1740
Unanswered
WackyModer
asked this question in
Q&A
Replies: 1 comment
-
I never experienced this issue when using However, I would like to provide an alternate method that I've been using to access the const set_headers = response.headers.raw()["set-cookie"] |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have been looking for a while, but I haven't found out any way to get multiple set-cookies in one request. I know that it is returning 2 set-cookies, but it is only returning the first set-cookie instead of both. I know that it used to work in older versions of node-fetch with .headers.getAll(), but it has been removed in v2 I believe, and my program cannot be migrated to a previous version of node-fetch. Is there any way to get multiple set-cookie headers?
node-fetch v3.3.1
node 18.6.0
Beta Was this translation helpful? Give feedback.
All reactions