public static bool MatchesContentType(this string contentType, string matchesContentType) { return GetRealContentType(contentType) == GetRealContentType(matchesContentType); }