Add tests for CurlHttpClient and fix the failures

This commit is contained in:
ta264
2015-08-01 13:54:20 +01:00
parent 9ffa28f17c
commit 4be0fe1b76
8 changed files with 222 additions and 100 deletions

View File

@@ -9,7 +9,7 @@ namespace NzbDrone.Common.Http
{
public class HttpHeader : Dictionary<string, object>
{
public HttpHeader(NameValueCollection headers)
public HttpHeader(NameValueCollection headers) : base(StringComparer.OrdinalIgnoreCase)
{
foreach (var key in headers.AllKeys)
{
@@ -17,7 +17,7 @@ namespace NzbDrone.Common.Http
}
}
public HttpHeader()
public HttpHeader() : base(StringComparer.OrdinalIgnoreCase)
{
}