Skip to content

Commit

Permalink
add HTTP.Body [TODO]
Browse files Browse the repository at this point in the history
  • Loading branch information
alec1o committed Jun 23, 2024
1 parent d15737f commit 46438cb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/http/partials/HTTP.Body.cs
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ public Body(byte[] buffer, Encoding encoding, Dictionary<string, string> header)

private Enctype GetEnctypeFromHeader(ref Dictionary<string, string> 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();
Expand Down

0 comments on commit 46438cb

Please sign in to comment.