Don't persist cookies across requests by default

This commit is contained in:
ta264
2021-03-17 21:30:11 +00:00
committed by Qstick
parent 29da0b7031
commit 95d5e0d347
3 changed files with 24 additions and 7 deletions
-3
View File
@@ -14,8 +14,6 @@ namespace NzbDrone.Common.Http
Headers = new HttpHeader();
ConnectionKeepAlive = true;
AllowAutoRedirect = true;
StoreRequestCookie = true;
IgnorePersistentCookies = false;
Cookies = new Dictionary<string, string>();
if (!RuntimeInfo.IsProduction)
@@ -40,7 +38,6 @@ namespace NzbDrone.Common.Http
public bool ConnectionKeepAlive { get; set; }
public bool LogResponseContent { get; set; }
public Dictionary<string, string> Cookies { get; private set; }
public bool IgnorePersistentCookies { get; set; }
public bool StoreRequestCookie { get; set; }
public bool StoreResponseCookie { get; set; }
public TimeSpan RequestTimeout { get; set; }