Skip to content

Commit

Permalink
docker
Browse files Browse the repository at this point in the history
  • Loading branch information
yurvon-screamo committed Dec 22, 2023
1 parent f65a982 commit 1c98b06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion EndpointHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public async Task Handle(HttpContext context)
{
foreach (KeyValuePair<string, string> 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);
Expand Down

0 comments on commit 1c98b06

Please sign in to comment.