mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-05-09 23:51:34 +08:00
修复HttpRequest通过HttpCookie设置cookies的方法,使其结果符合RFC6265规范。
This commit is contained in:
parent
35a33a1170
commit
ab9d6eb282
@ -427,7 +427,7 @@ public class HttpRequest extends HttpBase<HttpRequest> {
|
||||
if (ArrayUtil.isEmpty(cookies)) {
|
||||
return disableCookie();
|
||||
}
|
||||
return cookie(ArrayUtil.join(cookies, ";"));
|
||||
return cookie(ArrayUtil.join(cookies, "; "));
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user