Searching for appropriate MIME type should be done with lowercase extension