parnurzeal / gorequest

GoRequest -- Simplified HTTP client ( inspired by nodejs SuperAgent )
http://parnurzeal.github.io/gorequest/
MIT License
3.44k stars 414 forks source link

Can`t get multi cookies #237

Closed liuweiming1997 closed 5 years ago

liuweiming1997 commented 5 years ago

Hi all, does someone know how to get cookies from response? what i use is resp.Header.Get("set-cookies") but it can`t get multi cookies, saying that the server set-cookies twice then only can get the random one. Does anything I missing? Thanks in advance.

liuweiming1997 commented 5 years ago

i find raw http.Get for golang can`t not get multi cookies too, maybe something i miss, i am a new golanger