From 64c9bb42312122afa4f876c6607b26271618c6cd Mon Sep 17 00:00:00 2001 From: James White Date: Mon, 7 Feb 2022 00:03:38 +0000 Subject: [PATCH] Set version header to X-Application-Version (missing hyphen) Not sure if this is intentional or really harms anything but to be consistent with other Arr apps like Sonarr and Radarr, this changes the version header to X-Application-Version. --- src/Prowlarr.Http/Middleware/VersionMiddleware.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Prowlarr.Http/Middleware/VersionMiddleware.cs b/src/Prowlarr.Http/Middleware/VersionMiddleware.cs index 107130941..f80c1c0cc 100644 --- a/src/Prowlarr.Http/Middleware/VersionMiddleware.cs +++ b/src/Prowlarr.Http/Middleware/VersionMiddleware.cs @@ -6,7 +6,7 @@ namespace Prowlarr.Http.Middleware { public class VersionMiddleware { - private const string VERSIONHEADER = "X-ApplicationVersion"; + private const string VERSIONHEADER = "X-Application-Version"; private readonly RequestDelegate _next; private readonly string _version;