From c71f7c76136f14002309400c6b5377cb7223f4b9 Mon Sep 17 00:00:00 2001 From: kurokobo Date: Thu, 30 Oct 2025 10:34:59 +0900 Subject: [PATCH] fix(http_request): set response.text if there is no file (#27610) --- api/core/workflow/nodes/http_request/node.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/core/workflow/nodes/http_request/node.py b/api/core/workflow/nodes/http_request/node.py index 55dec3fb0..152d3cc56 100644 --- a/api/core/workflow/nodes/http_request/node.py +++ b/api/core/workflow/nodes/http_request/node.py @@ -104,7 +104,7 @@ class HttpRequestNode(Node): status=WorkflowNodeExecutionStatus.FAILED, outputs={ "status_code": response.status_code, - "body": response.text if not files else "", + "body": response.text if not files.value else "", "headers": response.headers, "files": files, },