Fixed: Qbittorrent api errors when only one of two seed criteria was configured

closes #907

(cherry picked from commit 652d44722b96a7a830ec45fe83260ddcecc525a7)
This commit is contained in:
Taloth Saldono
2021-03-19 21:31:46 +01:00
committed by Qstick
parent ac36675c6e
commit 916391edc3
8 changed files with 121 additions and 33 deletions
+3
View File
@@ -16,6 +16,7 @@ namespace NzbDrone.Common.Http
Headers = new HttpHeader();
AllowAutoRedirect = true;
StoreRequestCookie = true;
LogHttpError = true;
Cookies = new Dictionary<string, string>();
if (!RuntimeInfo.IsProduction)
@@ -36,10 +37,12 @@ namespace NzbDrone.Common.Http
public string ContentSummary { get; set; }
public ICredentials Credentials { get; set; }
public bool SuppressHttpError { get; set; }
public IEnumerable<HttpStatusCode> SuppressHttpErrorStatusCodes { get; set; }
public bool UseSimplifiedUserAgent { get; set; }
public bool AllowAutoRedirect { get; set; }
public bool ConnectionKeepAlive { get; set; }
public bool LogResponseContent { get; set; }
public bool LogHttpError { get; set; }
public Dictionary<string, string> Cookies { get; private set; }
public bool StoreRequestCookie { get; set; }
public bool StoreResponseCookie { get; set; }