def set_body()

in apisix/runner/http/response.py [0:0]


    def set_body(self, body: str) -> bool:
        """
        get response body
        :return:
        """
        if body:
            self.__body = body
            return True
        return False