From 9259ad7d493973bbbae3a05d95dfcd0d41cbf3be Mon Sep 17 00:00:00 2001 From: Qstick Date: Sat, 18 Feb 2023 13:59:08 -0600 Subject: [PATCH] Convert method to static that doesn't use instance data (cherry picked from commit a42f97229acb713719c616851db572100f319ad7) --- src/NzbDrone.Common/Http/Dispatchers/ManagedHttpDispatcher.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NzbDrone.Common/Http/Dispatchers/ManagedHttpDispatcher.cs b/src/NzbDrone.Common/Http/Dispatchers/ManagedHttpDispatcher.cs index 157e26b94..1a5e0cfae 100644 --- a/src/NzbDrone.Common/Http/Dispatchers/ManagedHttpDispatcher.cs +++ b/src/NzbDrone.Common/Http/Dispatchers/ManagedHttpDispatcher.cs @@ -241,7 +241,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; if (headers == null)