mirror of
https://github.com/Readarr/Readarr
synced 2026-01-30 19:33:07 +01:00
Convert method to static that doesn't use instance data
(cherry picked from commit a42f97229acb713719c616851db572100f319ad7)
This commit is contained in:
parent
5bc917c9dc
commit
92c59e158d
1 changed files with 1 additions and 1 deletions
|
|
@ -240,7 +240,7 @@ protected virtual void AddRequestHeaders(HttpRequestMessage webRequest, HttpHead
|
|||
}
|
||||
}
|
||||
|
||||
private void AddContentHeader(HttpRequestMessage request, string header, string value)
|
||||
private static void AddContentHeader(HttpRequestMessage request, string header, string value)
|
||||
{
|
||||
var headers = request.Content?.Headers;
|
||||
if (headers == null)
|
||||
|
|
|
|||
Loading…
Reference in a new issue