* Stylecop Rules and Fixes
This commit is contained in:
Qstick 2020-01-03 07:49:24 -05:00
parent a602611a5f
commit a4b78b44ce
1307 changed files with 8702 additions and 7403 deletions

View file

@ -48,7 +48,6 @@ namespace NzbDrone.Common.Http
}
}
public bool HasHttpError => (int)StatusCode >= 400;
public bool HasHttpRedirect => StatusCode == HttpStatusCode.Moved ||
@ -91,8 +90,8 @@ namespace NzbDrone.Common.Http
}
}
public class HttpResponse<T> : HttpResponse where T : new()
public class HttpResponse<T> : HttpResponse
where T : new()
{
public HttpResponse(HttpResponse response)
: base(response.Request, response.Headers, response.ResponseData, response.StatusCode)