diff --git a/src/main/SimpleHttpListener.Rx/Model/Base/HttpHeaderBase.cs b/src/main/SimpleHttpListener.Rx/Model/Base/HttpHeaderBase.cs index 2321f81..fe97d50 100644 --- a/src/main/SimpleHttpListener.Rx/Model/Base/HttpHeaderBase.cs +++ b/src/main/SimpleHttpListener.Rx/Model/Base/HttpHeaderBase.cs @@ -1,4 +1,5 @@ -using System.Collections.Generic; +using System; +using System.Collections.Generic; using System.IO; using System.Net.Sockets; using ISimpleHttpListener.Rx.Model; @@ -7,7 +8,7 @@ namespace SimpleHttpListener.Rx.Model.Base { public abstract class HttpHeaderBase : ParseControlBase, IHttpHeaders { - public IDictionary Headers { get; set; } = new Dictionary(); + public IDictionary Headers { get; set; } = new Dictionary(StringComparer.OrdinalIgnoreCase); public Stream ResponseStream { get; set; }