mirror of
https://github.com/langgenius/dify.git
synced 2026-04-03 05:29:50 +08:00
fix: invalid http header
This commit is contained in:
parent
17b7426cc6
commit
55d2417906
@ -213,7 +213,7 @@ class HttpExecutor:
|
||||
else:
|
||||
raise ValueError(f'Invalid headers {kv}')
|
||||
|
||||
self.headers[k] = v
|
||||
self.headers[k.strip()] = v.strip()
|
||||
|
||||
# extract all template in body
|
||||
if node_data.body:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user