Browse Source

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

tags/0.6.8
Patryk Garstecki 1 year ago
parent
commit
2c1c660c6e
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      api/core/workflow/nodes/http_request/http_executor.py

+ 1
- 1
api/core/workflow/nodes/http_request/http_executor.py View File

for kv in kv_paris: for kv in kv_paris:
if not kv.strip(): if not kv.strip():
continue continue
kv = kv.split(':')
kv = kv.split(':', 1)
if len(kv) == 2: if len(kv) == 2:
body[kv[0].strip()] = kv[1] body[kv[0].strip()] = kv[1]
elif len(kv) == 1: elif len(kv) == 1:

Loading…
Cancel
Save