Convert method to static that doesn't use instance data
This commit is contained in:
parent
412a36226f
commit
a42f97229a
|
@ -238,7 +238,7 @@ namespace NzbDrone.Common.Http.Dispatchers
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void AddContentHeader(HttpRequestMessage request, string header, string value)
|
private static void AddContentHeader(HttpRequestMessage request, string header, string value)
|
||||||
{
|
{
|
||||||
var headers = request.Content?.Headers;
|
var headers = request.Content?.Headers;
|
||||||
if (headers == null)
|
if (headers == null)
|
||||||
|
|
Loading…
Reference in New Issue