Ignore mime-type if it's null or empty