wendux / fly

:rocket: Supporting request forwarding and Promise based HTTP client for all JavaScript runtimes.
https://wendux.github.io/dist/#/language
MIT License
3.9k stars 639 forks source link

当服务端返回的 response header 中 set-cookie 有多个时,只能拿到第一个 #251

Closed falstack closed 4 years ago

falstack commented 4 years ago

如:

response:

Set-Cookie:asd=xxx Set-Cookie:bbb=ddd

res.headers['set-cookie'] 虽然是数组,但是只能拿到一个