mirror of https://github.com/langgenius/dify.git
fix(http_request): set response.text if there is no file (#27610)
This commit is contained in:
parent
c905c47775
commit
c71f7c7613
|
|
@ -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,
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in New Issue