修复HttpRequest.header相同key被覆盖问题

This commit is contained in:
Looly
2024-04-20 15:29:29 +08:00
parent cab1cade77
commit 7a5f910aa7
2 changed files with 3 additions and 2 deletions

View File

@@ -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自动失效