HttpWebClient: use TryAddWithoutValidation for headers

This commit is contained in:
kaso17 2017-02-15 20:47:58 +01:00
parent d6bcfa7e2e
commit c8c308e5ec
1 changed files with 1 additions and 1 deletions

View File

@ -90,7 +90,7 @@ namespace Jackett.Utils.Clients
{
if (header.Key != "Content-Type")
{
request.Headers.Add(header.Key, header.Value);
request.Headers.TryAddWithoutValidation(header.Key, header.Value);
}
}
}