def is_cache_saving_allowed(self, task, grab):

        if grab.request_method == 'GET':
            if not task.get('disable_cache'):
                if self.spider.is_valid_network_response_code(
                        grab.response.code, task):
                    return True
        return False
Initializes the reader.
dataset/ETHPy150Open lorien/grab/grab/spider/cache_pipeline.py/CachePipeline.is_cache_saving_allowed--crossover with--dataset/ETHPy150Open scalyr/scalyr-agent-2/scalyr_agent/builtin_monitors/linux_process_metrics.py/IoReader.__init__