File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -29,14 +29,13 @@ def create_mcp_http_client(
2929
3030 This function provides common defaults used throughout the MCP codebase:
3131 - follow_redirects=True (always enabled)
32- - Default timeout of 30 seconds for connect/write/pool and 300 seconds for read (to
33- accommodate long-lived SSE streams) if not specified
32+ - Default ``timeout`` tuned for long-lived SSE streams (see ``timeout`` below).
3433
3534 Args:
3635 headers: Optional headers to include with all requests.
37- timeout: Request timeout as httpx.Timeout object.
38- Defaults to 30 seconds for connect/write/pool and 300 seconds for read if
39- not specified.
36+ timeout: Request timeout as httpx.Timeout object. Defaults to 30 seconds for
37+ connect/write/pool and 300 seconds for read (to accommodate long-lived
38+ SSE streams) if not specified.
4039 auth: Optional authentication handler.
4140
4241 Returns:
You can’t perform that action at this time.
0 commit comments