def process_response(self, resp):
        if not self.get_status_code(resp) == httplib.OK:
            return resp

        request = resp.request
        if request.method not in ('GET', 'DELETE'):
            return resp

        match = get_images_re.match(request.path)
        if match is None:
            return resp

        image_id = match.group(2)
        if '?' in image_id or image_id == 'detail':
            return resp

        if self.cache.is_cached(image_id):
            if request.method == 'DELETE':
                logger.info(_("Removing image %s from cache"), image_id)
                self.cache.delete_cached_image(image_id)
            return resp

        resp.app_iter = self.cache.get_caching_iter(image_id, resp.app_iter)
        return resp
getMode() -> pyDes.ECB or pyDes.CBC
dataset/ETHPy150Open rcbops/glance-buildpackage/glance/api/middleware/cache.py/CacheFilter.process_response--crossover with--dataset/ETHPy150Open mrknow/filmkodi/plugin.video.mrknow/lib/utils/pyDes.py/_baseDes.getMode