From 1da99f68780280792980927207ffa009bbd1748b Mon Sep 17 00:00:00 2001 From: Ali Yousefi Date: Tue, 26 Sep 2023 20:37:57 +0330 Subject: [PATCH] fix --- .../Engine/Net/Http/HttpHandlerTest.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CSharp/EasyMicroservices.Laboratory.Tests/Engine/Net/Http/HttpHandlerTest.cs b/src/CSharp/EasyMicroservices.Laboratory.Tests/Engine/Net/Http/HttpHandlerTest.cs index 5d3f5c0..e428910 100644 --- a/src/CSharp/EasyMicroservices.Laboratory.Tests/Engine/Net/Http/HttpHandlerTest.cs +++ b/src/CSharp/EasyMicroservices.Laboratory.Tests/Engine/Net/Http/HttpHandlerTest.cs @@ -14,7 +14,7 @@ string NormalizeOSText(string text) { #if (!NET452 && !NET48) if (!System.Runtime.InteropServices.RuntimeInformation.IsOSPlatform(System.Runtime.InteropServices.OSPlatform.Windows)) - return text.Replace("Content-Length: 21", "Content-Length: 20"); + return text.Replace("\r\n", "\n").Replace("Content-Length: 21", "Content-Length: 20"); #endif return text; }