Skip to content

Commit

Permalink
fix http header casing
Browse files Browse the repository at this point in the history
  • Loading branch information
Garados007 committed Jan 15, 2021
1 parent 563ecef commit a1eece5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion MaxLib.WebServer/HttpHeader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ public string HttpProtocol
}
}

public Dictionary<string, string> HeaderParameter { get; } = new Dictionary<string, string>();
public Dictionary<string, string> HeaderParameter { get; }
= new Dictionary<string, string>(StringComparer.InvariantCultureIgnoreCase);

public string? GetHeader(string key)
{
Expand Down
2 changes: 1 addition & 1 deletion MaxLib.WebServer/MaxLib.WebServer.csproj.include
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<Project>

<PropertyGroup>
<Version>2.3.0</Version>
<Version>2.3.1</Version>
<AssemblyVersion>$(Version).0</AssemblyVersion>
<FileVersion>$(Version).0</FileVersion>
</PropertyGroup>
Expand Down

0 comments on commit a1eece5

Please sign in to comment.