From d6e6b993166e6ca278b29df83c1bd0a01aaaaf9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=88=91=E4=BB=A5=E4=B8=BA?= <870044273@qq.com> Date: Thu, 2 Jun 2022 03:00:16 +0000 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3OpenFeign=E9=83=A8=E5=88=86?= =?UTF-8?q?=E6=83=85=E5=86=B5=E4=B8=8B=E4=BC=A0=E9=80=92header=E8=AE=A4?= =?UTF-8?q?=E8=AF=81=E4=BF=A1=E6=81=AF=E4=B8=BA=E7=A9=BA=E9=97=AE=E9=A2=98?= =?UTF-8?q?=20#https://gitee.com/y=5Fproject/RuoYi-Cloud/issues/I5AGRR?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/ruoyi/common/core/utils/ServletUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ruoyi-common/ruoyi-common-core/src/main/java/com/ruoyi/common/core/utils/ServletUtils.java b/ruoyi-common/ruoyi-common-core/src/main/java/com/ruoyi/common/core/utils/ServletUtils.java index 1e098242..cd21f777 100644 --- a/ruoyi-common/ruoyi-common-core/src/main/java/com/ruoyi/common/core/utils/ServletUtils.java +++ b/ruoyi-common/ruoyi-common-core/src/main/java/com/ruoyi/common/core/utils/ServletUtils.java @@ -142,7 +142,7 @@ public class ServletUtils public static Map getHeaders(HttpServletRequest request) { - Map map = new LinkedHashMap<>(); + Map map = new LinkedCaseInsensitiveMap<>(); Enumeration enumeration = request.getHeaderNames(); if (enumeration != null) {