We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 20dc0fb commit 715883aCopy full SHA for 715883a
src/mcp/client/sse.py
@@ -54,7 +54,9 @@ async def sse_client(
54
async with anyio.create_task_group() as tg:
55
try:
56
logger.debug(f"Connecting to SSE endpoint: {remove_request_params(url)}")
57
- async with httpx_client_factory(headers=headers, auth=auth) as client:
+ async with httpx_client_factory(
58
+ headers=headers, auth=auth, timeout=httpx.Timeout(timeout, read=sse_read_timeout)
59
+ ) as client:
60
async with aconnect_sse(
61
client,
62
"GET",
0 commit comments