From ab502ffda41aaae8bccaa4f33c62e3fca61b277f Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Sun, 7 Mar 2021 14:47:09 -0800 Subject: [PATCH] Just one Application Version header --- src/Sonarr.Http/Extensions/Pipelines/SonarrVersionPipeline.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Sonarr.Http/Extensions/Pipelines/SonarrVersionPipeline.cs b/src/Sonarr.Http/Extensions/Pipelines/SonarrVersionPipeline.cs index cb25e6833..aefd6ceb4 100644 --- a/src/Sonarr.Http/Extensions/Pipelines/SonarrVersionPipeline.cs +++ b/src/Sonarr.Http/Extensions/Pipelines/SonarrVersionPipeline.cs @@ -16,9 +16,9 @@ namespace Sonarr.Http.Extensions.Pipelines private void Handle(NancyContext context) { - if (!context.Response.Headers.ContainsKey("X-ApplicationVersion")) + if (!context.Response.Headers.ContainsKey("X-Application-Version")) { - context.Response.Headers.Add("X-ApplicationVersion", BuildInfo.Version.ToString()); + context.Response.Headers.Add("X-Application-Version", BuildInfo.Version.ToString()); } } }