mirror of
https://github.com/langgenius/dify.git
synced 2026-01-08 23:34:11 +00:00
fix: invalid http header
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user