We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
问题: CookieStore cookieStore = httpClient.getCookieStore(); 这种形式获取cookie可能会导致cookie信息获取不全,报invalid cookie header httpclient警告提 示; 提示信息如下 o.a.h.c.protocol.ResponseProcessCookies : Invalid cookie header: "Set-Cookie: activityAccountJumpPage=; path=/; expires=Thu, 01 Jan 1970 00:00:00 GMT; domain=kuaishou.com". Invalid 'expires' attribute: Thu, 01 Jan 1970 00:00:00 GMT
解决方法: Response response = httpClient.execute(httpPost); response.getHeaders("Set-Cookie")[0].getValue();
The text was updated successfully, but these errors were encountered:
No branches or pull requests
问题:
CookieStore cookieStore = httpClient.getCookieStore();
这种形式获取cookie可能会导致cookie信息获取不全,报invalid cookie header httpclient警告提
示;
提示信息如下
o.a.h.c.protocol.ResponseProcessCookies : Invalid cookie header: "Set-Cookie: activityAccountJumpPage=; path=/; expires=Thu, 01 Jan 1970 00:00:00 GMT; domain=kuaishou.com". Invalid 'expires' attribute: Thu, 01 Jan 1970 00:00:00 GMT
解决方法:
Response response = httpClient.execute(httpPost);
response.getHeaders("Set-Cookie")[0].getValue();
The text was updated successfully, but these errors were encountered: