mirror of
https://gitee.com/dromara/hutool.git
synced 2025-04-05 17:37:59 +08:00
修复HttpRequest.header相同key被覆盖问题
This commit is contained in:
parent
cab1cade77
commit
7a5f910aa7
@ -2,7 +2,7 @@
|
|||||||
# 🚀Changelog
|
# 🚀Changelog
|
||||||
|
|
||||||
-------------------------------------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------------------------------------
|
||||||
# 5.8.28(2024-04-18)
|
# 5.8.28(2024-04-20)
|
||||||
|
|
||||||
### 🐣新特性
|
### 🐣新特性
|
||||||
* 【core 】 修正XmlUtil的omitXmlDeclaration描述注释(issue#I9CPC7@Gitee)
|
* 【core 】 修正XmlUtil的omitXmlDeclaration描述注释(issue#I9CPC7@Gitee)
|
||||||
@ -19,6 +19,7 @@
|
|||||||
* 【db 】 解决oracle情况下setObject(inputStream)报错问题,java.sql.SQLException: 无效的列类型问题(pr#1207@Gitee)
|
* 【db 】 解决oracle情况下setObject(inputStream)报错问题,java.sql.SQLException: 无效的列类型问题(pr#1207@Gitee)
|
||||||
* 【core 】 解决CalendarUtil.isSameDay时区不同导致结果错误问题(pr#3548@Github)
|
* 【core 】 解决CalendarUtil.isSameDay时区不同导致结果错误问题(pr#3548@Github)
|
||||||
* 【core 】 修复RandomUtil.randomStringWithoutStr方法问题(pr#1209@Gitee)
|
* 【core 】 修复RandomUtil.randomStringWithoutStr方法问题(pr#1209@Gitee)
|
||||||
|
* 【http 】 修复HttpRequest.header相同key被覆盖问题(issue#I9I61C@Gitee)
|
||||||
|
|
||||||
-------------------------------------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------------------------------------
|
||||||
# 5.8.27(2024-03-29)
|
# 5.8.27(2024-03-29)
|
||||||
|
@ -1227,7 +1227,7 @@ public class HttpRequest extends HttpBase<HttpRequest> {
|
|||||||
// 流方式上传数据
|
// 流方式上传数据
|
||||||
.setChunkedStreamingMode(config.blockSize)
|
.setChunkedStreamingMode(config.blockSize)
|
||||||
// 覆盖默认Header
|
// 覆盖默认Header
|
||||||
.header(this.headers, true);
|
.header(this.headers, false);
|
||||||
|
|
||||||
if (null != this.cookie) {
|
if (null != this.cookie) {
|
||||||
// 当用户自定义Cookie时,全局Cookie自动失效
|
// 当用户自定义Cookie时,全局Cookie自动失效
|
||||||
|
Loading…
Reference in New Issue
Block a user