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

This commit is contained in:
Patryk Garstecki 2024-05-11 05:23:35 +02:00 committed by GitHub
parent 13f4ed6e0e
commit 2c1c660c6e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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: