mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-03-28 13:01:57 +00:00
Use our own Contains extension
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user