Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

fix(Backend:http_executor): :wrench: prevent splitting JSON data as v… (#4276)

Patryk Garstecki2c1c660c6e08
diff --git a/api/core/workflow/nodes/http_request/http_executor.py b/api/core/workflow/nodes/http_request/http_executor.py
index 4ca8a81d8cc..0b07ad8e82c 100644
--- a/api/core/workflow/nodes/http_request/http_executor.py
+++ b/api/core/workflow/nodes/http_request/http_executor.py
@@ -236,7 +236,7 @@ class HttpExecutor:
for kv in kv_paris:
if not kv.strip():
continue
- kv = kv.split(':')
+ kv = kv.split(':', 1)
if len(kv) == 2:
body[kv[0].strip()] = kv[1]
elif len(kv) == 1: