Replace mime with mime-types