任何人都可以告诉我如何使用 JSOUP
从服务器解析以下响应Set-Cookie: PHPSESSID=osfveluimtjhkctqs34gsdafu5; path=/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: boot[uid]=nwbh%2FtiM4p05%2BMPASufbYLa8tKwkDbZenBreisH2Vd0%3D; expires=Mon, 03-Nov-2014 11:48:03 GMT; path=/
Set-Cookie: PHPSESSID=sm44686g967qf4e21mogbjucf6; path=/
Set-Cookie: PHPSESSID=04h16usgeatii00gt85rdgbup1; path=/
我在这里获得3次“PHPSESSID”饼干。 当我试图解析
Connection.Response doc = Jsoup.connect("///")......execute();
System.out.println(doc.cookie("PHPSESSID"));
System.out.println(doc.cookies());
无论哪种方式我都无法获得所有这些cookie 请帮助我...