mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
This commit is contained in:
@@ -17,10 +17,10 @@ namespace Jackett.Utils.Clients
|
|||||||
public class HttpWebClient : IWebClient
|
public class HttpWebClient : IWebClient
|
||||||
{
|
{
|
||||||
public HttpWebClient(IProcessService p, Logger l, IConfigurationService c)
|
public HttpWebClient(IProcessService p, Logger l, IConfigurationService c)
|
||||||
: base(p: p,
|
: base(p: p,
|
||||||
l: l,
|
l: l,
|
||||||
c: c)
|
c: c)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
override public void Init()
|
override public void Init()
|
||||||
@@ -67,7 +67,8 @@ namespace Jackett.Utils.Clients
|
|||||||
AllowAutoRedirect = false, // Do not use this - Bugs ahoy! Lost cookies and more.
|
AllowAutoRedirect = false, // Do not use this - Bugs ahoy! Lost cookies and more.
|
||||||
UseCookies = true,
|
UseCookies = true,
|
||||||
Proxy = proxyServer,
|
Proxy = proxyServer,
|
||||||
UseProxy = useProxy
|
UseProxy = useProxy,
|
||||||
|
AutomaticDecompression = DecompressionMethods.GZip | DecompressionMethods.Deflate
|
||||||
};
|
};
|
||||||
|
|
||||||
clearanceHandlr.InnerHandler = clientHandlr;
|
clearanceHandlr.InnerHandler = clientHandlr;
|
||||||
|
Reference in New Issue
Block a user