commit
This commit is contained in:
parent
13ec9babde
commit
68f4b60012
1429 changed files with 2481 additions and 272836 deletions
3
node_modules/undici/lib/cookies/index.js
generated
vendored
3
node_modules/undici/lib/cookies/index.js
generated
vendored
|
@ -83,7 +83,8 @@ function getSetCookies (headers) {
|
|||
return []
|
||||
}
|
||||
|
||||
return cookies.map((pair) => parseSetCookie(pair[1]))
|
||||
// In older versions of undici, cookies is a list of name:value.
|
||||
return cookies.map((pair) => parseSetCookie(Array.isArray(pair) ? pair[1] : pair))
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue