

def process_spider_exception(self, response, exception, spider):
    if isinstance(exception, HttpError):
        log.spider_log((('Ignoring response ' + response.url) + ': HTTP status code is not handled or not allowed'), level=log.DEBUG, spider=response)
        return []

dataset/ETHPy150Open wcong/ants/ants/contrib/spidermiddleware/httperror.py HttpErrorMiddleware.process_spider_exception/VarMisuse@50/83 `spider`->`response`