[BUGFIX] mime-type parsing