mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
修复HttpRequest.header相同key被覆盖问题
This commit is contained in:
@@ -1227,7 +1227,7 @@ public class HttpRequest extends HttpBase<HttpRequest> {
|
||||
// 流方式上传数据
|
||||
.setChunkedStreamingMode(config.blockSize)
|
||||
// 覆盖默认Header
|
||||
.header(this.headers, true);
|
||||
.header(this.headers, false);
|
||||
|
||||
if (null != this.cookie) {
|
||||
// 当用户自定义Cookie时,全局Cookie自动失效
|
||||
|
Reference in New Issue
Block a user