def from_mimetype(self, mimetype):
        if mimetype is None:
            return Response
        elif mimetype in self.classes:
            return self.classes[mimetype]
        else:
            basetype = "%s/*" % mimetype.split('/')[0]
            return self.classes.get(basetype, Response)
Indicate that a formerly enqueued task is complete.
dataset/ETHPy150Open scrapy/scrapy/scrapy/responsetypes.py/ResponseTypes.from_mimetype--crossover with--dataset/ETHPy150Open kleientertainment/ds_mod_tools/pkg/win32/Python27/Lib/Queue.py/Queue.task_done