diff options
| author | Bond_009 <bond.009@outlook.com> | 2019-02-06 21:31:41 +0100 |
|---|---|---|
| committer | Bond_009 <bond.009@outlook.com> | 2019-02-06 22:58:12 +0100 |
| commit | 70c85925af31ee341f87fced39a67ab7fb4eed77 (patch) | |
| tree | 1e4e2116733b444a9024f922369aeaf0575c91c9 /Emby.Server.Implementations/Services/ResponseHelper.cs | |
| parent | 0ef2b46106937c8acbab8e2a6a1e08affb823d31 (diff) | |
Move some arrays to generics
Diffstat (limited to 'Emby.Server.Implementations/Services/ResponseHelper.cs')
| -rw-r--r-- | Emby.Server.Implementations/Services/ResponseHelper.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/Services/ResponseHelper.cs b/Emby.Server.Implementations/Services/ResponseHelper.cs index 16de1a083..dc9975347 100644 --- a/Emby.Server.Implementations/Services/ResponseHelper.cs +++ b/Emby.Server.Implementations/Services/ResponseHelper.cs @@ -70,7 +70,7 @@ namespace Emby.Server.Implementations.Services response.ContentType = defaultContentType; } - if (new HashSet<string> { "application/json", }.Contains(response.ContentType)) + if (response.ContentType == "application/json") { response.ContentType += "; charset=utf-8"; } |
