def require_not_closed(self):
        if self.closed:
            raise exceptions.InvalidOperation('Response is closed.')
Raises an exception if the response is closed.
dataset/ETHPy150Open armet/python-armet/armet/http/response.py/Response.require_not_closed