Case-insensitive MIME type detection