From 1c98b065528ff49c17ef5a1f882c94a77be7cc4e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=AE=D1=80=D0=B8=D0=B9=20=D0=A2=D1=83=D1=80=D0=B1=D0=B8?= =?UTF-8?q?=D0=BD?= Date: Sat, 23 Dec 2023 00:24:04 +0300 Subject: [PATCH] docker --- EndpointHandler.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/EndpointHandler.cs b/EndpointHandler.cs index 43c7fe4..035850c 100644 --- a/EndpointHandler.cs +++ b/EndpointHandler.cs @@ -42,7 +42,7 @@ public async Task Handle(HttpContext context) { foreach (KeyValuePair item in headers) { - if (!item.Key.Equals("content-length", StringComparison.CurrentCultureIgnoreCase) || + if (!item.Key.Equals("content-length", StringComparison.CurrentCultureIgnoreCase) && !item.Key.Equals("transfer-encoding", StringComparison.CurrentCultureIgnoreCase)) { context.Response.Headers.TryAdd(item.Key, item.Value);