def provides(self, imt):
        return self.type[:imt.specifity] == imt.type[:imt.specifity]
Adds a client to the index.
dataset/ETHPy150Open mollyproject/mollyproject/molly/utils/http.py/MediaType.provides--crossover with--dataset/ETHPy150Open google/grr/grr/lib/client_index.py/ClientIndex.AddClient