mirror of https://github.com/langgenius/dify.git
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