From 275017afdfb73dc65de4e97c4024376ee9d7da63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8C=83=E9=9C=B2=E5=B0=A7?= Date: Wed, 15 Mar 2023 14:15:02 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0response=E7=9A=84content-type?= =?UTF-8?q?=E4=B8=BAtext/html=E6=97=B6=E8=BE=93=E5=87=BA=E5=AD=97=E7=AC=A6?= =?UTF-8?q?=E4=B8=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../HttpWebService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/93_nei_core/Getf_Service_Transfer_Client_Service_HttpHandler/HttpWebService.cs b/93_nei_core/Getf_Service_Transfer_Client_Service_HttpHandler/HttpWebService.cs index 4e12481..b40f615 100644 --- a/93_nei_core/Getf_Service_Transfer_Client_Service_HttpHandler/HttpWebService.cs +++ b/93_nei_core/Getf_Service_Transfer_Client_Service_HttpHandler/HttpWebService.cs @@ -323,7 +323,7 @@ namespace Getf_Service_Transfer_Client_Service_HttpHandler if (contentType == null) return true; contentType = contentType.ToLower(); //"text/", - var list = new string[] { "application/json", "application/xml" }; + var list = new string[] { "text/html", "application/json", "application/xml" }; return list.Any(m => contentType.Contains(m)); } }