From de1f3f756a85400daa726223bd9442968705c3ed Mon Sep 17 00:00:00 2001 From: uwaa Date: Mon, 2 Dec 2024 16:17:53 +0000 Subject: [PATCH] http: always send content-length in response --- HTTP/HttpResponse.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/HTTP/HttpResponse.cs b/HTTP/HttpResponse.cs index ab3d34e..5529e53 100644 --- a/HTTP/HttpResponse.cs +++ b/HTTP/HttpResponse.cs @@ -97,7 +97,7 @@ public class HttpResponse } else { - Fields.ContentLength = null; + Fields.ContentLength = 0; Fields.ContentType = null; }