Update test_openapi.py

This commit is contained in:
Jeremiah Lowin 2025-05-23 15:40:03 -04:00
commit de666be70d

View file

@ -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")