Skip to content

Commit

Permalink
fix cookie
Browse files Browse the repository at this point in the history
  • Loading branch information
shuzijun committed May 4, 2023
1 parent c9c53a4 commit 85da93f
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ public static void setCookie(List<HttpCookie> cookieList) {

cookieManager.getCookieStore().removeAll();
for (HttpCookie cookie : cookieList) {
cookie.setVersion(0);
cookieManager.getCookieStore().add(null, cookie);
}
}
Expand Down

0 comments on commit 85da93f

Please sign in to comment.