mirror of
https://github.com/PrefectHQ/fastmcp.git
synced 2026-08-21 04:54:17 +02:00
Update test_openapi.py
This commit is contained in:
parent
d311a2b878
commit
ee059b02b6
1 changed files with 0 additions and 9 deletions
|
|
@ -170,15 +170,6 @@ class TestClientHeaders:
|
|||
headers = json.loads(result[0].text)
|
||||
assert headers["x-test"] == "test-123"
|
||||
|
||||
# async def test_certain_client_headers_are_stripped(self, shttp_server: str):
|
||||
# async with Client(
|
||||
# transport=StreamableHttpTransport(shttp_server, headers={"host": "1.2.3.4"})
|
||||
# ) as client:
|
||||
# result = await client.read_resource("resource://get_headers_headers_get")
|
||||
# assert isinstance(result[0], TextResourceContents)
|
||||
# headers = json.loads(result[0].text)
|
||||
# assert "host" not in headers
|
||||
|
||||
async def test_client_overrides_server_headers(self, shttp_server: str):
|
||||
async with Client(
|
||||
transport=StreamableHttpTransport(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue