mirror of
https://github.com/Jackett/Jackett
synced 2025-02-25 07:32:38 +00:00
HttpWebClient: use TryAddWithoutValidation for headers
This commit is contained in:
parent
d6bcfa7e2e
commit
c8c308e5ec
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue