'Reduce response object to make it compatible with ``pickle``'

def reduce_response(self, response):

    result = _Store()
    response.content
    for field in self._response_attrs:
        setattr(result, field, getattr(response, field))
    result.history = [self.reduce_response(r) for r in response.history]
    return result
