Update MimeTypes.cs

This commit is contained in:
artiume 2020-05-04 12:13:50 -04:00 committed by GitHub
parent 675cbd8a16
commit 25651362bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 2 deletions

View File

@ -176,7 +176,6 @@ namespace MediaBrowser.Model.Net
}
var ext = Path.GetExtension(path);
var beg = Path.GetFullPath(path);
if (_mimeTypeLookup.TryGetValue(ext, out string result))
{
@ -204,7 +203,6 @@ namespace MediaBrowser.Model.Net
// Misc
if (string.Equals(ext, ".dll", StringComparison.OrdinalIgnoreCase))
|| string.Equals(beg, "._*", StringComparison.OrdinalIgnoreCase))
{
return "application/octet-stream";
}