diff options
| author | cvium <clausvium@gmail.com> | 2021-12-20 13:31:07 +0100 |
|---|---|---|
| committer | cvium <clausvium@gmail.com> | 2021-12-20 13:31:07 +0100 |
| commit | b880dc8a4a2d1820c6063f441edce42ab399d79e (patch) | |
| tree | 498f8767f56ce7e5c43b083dd39955d51828a51d /RSSDP/HttpRequestParser.cs | |
| parent | cb41dda5b3473714950a6540c4dec18e0c31c6ed (diff) | |
Use our own Contains extension
Diffstat (limited to 'RSSDP/HttpRequestParser.cs')
| -rw-r--r-- | RSSDP/HttpRequestParser.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/RSSDP/HttpRequestParser.cs b/RSSDP/HttpRequestParser.cs index 4114195a6..a3e100796 100644 --- a/RSSDP/HttpRequestParser.cs +++ b/RSSDP/HttpRequestParser.cs @@ -1,6 +1,6 @@ using System; -using System.Linq; using System.Net.Http; +using Jellyfin.Extensions; namespace Rssdp.Infrastructure { @@ -86,7 +86,7 @@ namespace Rssdp.Infrastructure /// <param name="headerName">A string containing the name of the header to return the type of.</param> protected override bool IsContentHeader(string headerName) { - return ContentHeaderNames.Contains(headerName, StringComparer.OrdinalIgnoreCase); + return ContentHeaderNames.Contains(headerName, StringComparison.OrdinalIgnoreCase); } } } |
