def set_body()

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


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