From 2c1c660c6e080552aceacbb4c3e5f37f5ca8fddf Mon Sep 17 00:00:00 2001 From: Patryk Garstecki Date: Sat, 11 May 2024 05:23:35 +0200 Subject: [PATCH] =?UTF-8?q?fix(Backend:http=5Fexecutor):=20:wrench:=20prev?= =?UTF-8?q?ent=20splitting=20JSON=20data=20as=20v=E2=80=A6=20(#4276)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/core/workflow/nodes/http_request/http_executor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/core/workflow/nodes/http_request/http_executor.py b/api/core/workflow/nodes/http_request/http_executor.py index 4ca8a81d8c..0b07ad8e82 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: