Support different transports in Client (#1972)
This commit is contained in:
parent
2137c8fbdb
commit
21822053df
1 changed files with 544 additions and 631 deletions
|
|
@ -66,9 +66,7 @@ def create_mcp_http_client(
|
|||
response = await client.get("/protected-endpoint")
|
||||
"""
|
||||
# Set MCP defaults
|
||||
kwargs: dict[str, Any] = {
|
||||
"follow_redirects": True,
|
||||
}
|
||||
kwargs: dict[str, Any] = {"follow_redirects": True}
|
||||
|
||||
# Handle timeout
|
||||
if timeout is None:
|
||||
|
|
|
|||
Loading…
Reference in a new issue