抓数据包得到是这样的,四个Set-Cookie
``
HTTP/1.1 200 OK
Date: Wed, 03 Jun 2015 07:27:33 GMT
Server: Apache/2.2.3 (Red Hat)
Set-Cookie: CardNo=1423;Path=/;domain=10.60.20.10;
Set-Cookie: RdRecno=40611;Path=/;domain=10.60.20.10;
Set-Cookie: RegName=1423;Path=/;domain=10.60.20.10;
Set-Cookie: w_Recno=871;Path=/;domain=10.60.20.10;
Connection: close
Transfer-Encoding: chunked
Content-Type: text/html; charset=GB2312
但是我用getResponseHeader("Set-Cookie")就只能获取最后一个,怎么样才能获取四个?
2***@qq.com
并没有用,这个只能单纯的获取协议头,根本获取不到cookies
2019-04-10 09:23