Force header in custom tool be string

pull/20537/head
Peter Xin 12 months ago
parent b33f8b47ca
commit 1722121ff4

@ -168,7 +168,7 @@ class ApiTool(Tool):
cookies[parameter["name"]] = value
elif parameter["in"] == "header":
headers[parameter["name"]] = value
headers[parameter["name"]] = str(value)
# check if there is a request body and handle it
if "requestBody" in self.api_bundle.openapi and self.api_bundle.openapi["requestBody"] is not None:

Loading…
Cancel
Save