mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-16 14:03:03 +03:00
Use our own Contains extension
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user