Switch to only mime-type check