diff options
| author | Cody Robibero <cody@robibe.ro> | 2021-12-24 01:59:25 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-12-24 01:59:25 +0000 |
| commit | 076a13abeb344f7a79d81cce030799c8e77dbfaf (patch) | |
| tree | 4a8ca89b77a636e37dc6e6396118fa074f9a2f90 /RSSDP/HttpResponseParser.cs | |
| parent | 259bc231d6a42171fb13db77a7694bf4a83d3478 (diff) | |
| parent | b880dc8a4a2d1820c6063f441edce42ab399d79e (diff) | |
Merge pull request #7029 from cvium/allocations_maybe
Diffstat (limited to 'RSSDP/HttpResponseParser.cs')
| -rw-r--r-- | RSSDP/HttpResponseParser.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/RSSDP/HttpResponseParser.cs b/RSSDP/HttpResponseParser.cs index 0dd4bb45a..3e361465d 100644 --- a/RSSDP/HttpResponseParser.cs +++ b/RSSDP/HttpResponseParser.cs @@ -1,7 +1,7 @@ using System; -using System.Linq; using System.Net; using System.Net.Http; +using Jellyfin.Extensions; namespace Rssdp.Infrastructure { @@ -49,7 +49,7 @@ namespace Rssdp.Infrastructure /// <returns>A boolean, true if th specified header relates to HTTP content, otherwise false.</returns> protected override bool IsContentHeader(string headerName) { - return ContentHeaderNames.Contains(headerName, StringComparer.OrdinalIgnoreCase); + return ContentHeaderNames.Contains(headerName, StringComparison.OrdinalIgnoreCase); } /// <summary> |
