requests icon indicating copy to clipboard operation
requests copied to clipboard

解决获取不到全部cookie的问题

Open movecpp opened this issue 4 years ago • 0 comments

在requests.cpp处,当从content截取cookie的时候只有大写头部。因此导致某些网站的cookie获取不完整。 key == s_trim("Set-Cookie")修改为key == s_trim("Set-Cookie")||key == s_trim("set-cookie") 即可解决此问题。 嗯。。。。能用吧,session的请求重载写的还是少了些,建议补充一下。

movecpp avatar Jan 14 '21 17:01 movecpp