From 46438cb8872fece76a213d66df3313cae9b60ad6 Mon Sep 17 00:00:00 2001 From: "Alecio Furanze (Ale)" Date: Sun, 23 Jun 2024 11:40:27 +0200 Subject: [PATCH] add HTTP.Body [TODO] --- src/http/partials/HTTP.Body.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/http/partials/HTTP.Body.cs b/src/http/partials/HTTP.Body.cs index f0dc92f9..1d206e88 100644 --- a/src/http/partials/HTTP.Body.cs +++ b/src/http/partials/HTTP.Body.cs @@ -50,6 +50,7 @@ public Body(byte[] buffer, Encoding encoding, Dictionary header) private Enctype GetEnctypeFromHeader(ref Dictionary headers) { + // TODO: Fix Isn't working. var comparisonType = StringComparison.InvariantCultureIgnoreCase; var value = headers.FirstOrDefault(x => x.Key.Equals("Content-Type", comparisonType)); var key = (value.Value ?? string.Empty).ToUpper();