|
|
@ -20,6 +20,7 @@ namespace NzbDrone.Common.Http
|
|
|
|
public Dictionary<string, string> Segments { get; private set; }
|
|
|
|
public Dictionary<string, string> Segments { get; private set; }
|
|
|
|
public HttpHeader Headers { get; private set; }
|
|
|
|
public HttpHeader Headers { get; private set; }
|
|
|
|
public bool SuppressHttpError { get; set; }
|
|
|
|
public bool SuppressHttpError { get; set; }
|
|
|
|
|
|
|
|
public IEnumerable<HttpStatusCode> SuppressHttpErrorStatusCodes { get; set; }
|
|
|
|
public bool LogHttpError { get; set; }
|
|
|
|
public bool LogHttpError { get; set; }
|
|
|
|
public bool UseSimplifiedUserAgent { get; set; }
|
|
|
|
public bool UseSimplifiedUserAgent { get; set; }
|
|
|
|
public bool AllowAutoRedirect { get; set; }
|
|
|
|
public bool AllowAutoRedirect { get; set; }
|
|
|
@ -102,6 +103,7 @@ namespace NzbDrone.Common.Http
|
|
|
|
{
|
|
|
|
{
|
|
|
|
request.Method = Method;
|
|
|
|
request.Method = Method;
|
|
|
|
request.SuppressHttpError = SuppressHttpError;
|
|
|
|
request.SuppressHttpError = SuppressHttpError;
|
|
|
|
|
|
|
|
request.SuppressHttpErrorStatusCodes = SuppressHttpErrorStatusCodes;
|
|
|
|
request.LogHttpError = LogHttpError;
|
|
|
|
request.LogHttpError = LogHttpError;
|
|
|
|
request.UseSimplifiedUserAgent = UseSimplifiedUserAgent;
|
|
|
|
request.UseSimplifiedUserAgent = UseSimplifiedUserAgent;
|
|
|
|
request.AllowAutoRedirect = AllowAutoRedirect;
|
|
|
|
request.AllowAutoRedirect = AllowAutoRedirect;
|
|
|
|