mirror of
https://github.com/PrefectHQ/fastmcp.git
synced 2026-08-24 06:24:18 +02:00
Update test_openapi.py
This commit is contained in:
parent
b8e918a862
commit
de666be70d
1 changed files with 3 additions and 0 deletions
|
|
@ -181,6 +181,9 @@ class TestClientHeaders:
|
|||
assert headers["x-server"] == "test-abc"
|
||||
|
||||
async def test_client_headers_proxy(self, proxy_server: str):
|
||||
"""
|
||||
Test that client headers are passed through the proxy to the remove server.
|
||||
"""
|
||||
async with Client(transport=StreamableHttpTransport(proxy_server)) as client:
|
||||
await client.ping()
|
||||
result = await client.read_resource("resource://get_headers_headers_get")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue