'Return True if an ETag header should be added to response.'

def needs_etag(self, response):

    cache_control_headers = cc_delim_re.split(response.get('Cache-Control', ''))
    return all(((header.lower() != 'no-store') for header in cache_control_headers))
