The present invention also relates to a method for the cosmetic treatment of body odor and optionally of human perspiration, which consists in applying to the surface of a keratin material a composition as defined above by means of the dispensing device defined above.