Replace httpx and httpx-sse with httpx2 (#2972)
Co-authored-by: Max Isbey <224885523+maxisbey@users.noreply.github.com>
This commit is contained in:
parent
1216c53693
commit
2713b53b12
1 changed files with 1029 additions and 948 deletions
|
|
@ -17,7 +17,7 @@ assumptions about which side produced what.
|
|||
|
||||
from dataclasses import dataclass
|
||||
|
||||
import httpx
|
||||
import httpx2
|
||||
from mcp_types import JSONRPCMessage, jsonrpc_message_adapter
|
||||
|
||||
#: Substrings that must not appear anywhere in a request body or JSON-RPC frame on a legacy
|
||||
|
|
@ -51,8 +51,8 @@ class RecordedExchange:
|
|||
the server-to-client body content must be supplied via `frames`.
|
||||
"""
|
||||
|
||||
requests: list[httpx.Request]
|
||||
responses: list[httpx.Response]
|
||||
requests: list[httpx2.Request]
|
||||
responses: list[httpx2.Response]
|
||||
frames: list[JSONRPCMessage]
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue