Skip to content

πŸš€ The fast, Pythonic way to build MCP servers and clients.

Update test_openapi.py

Jeremiah Lowinde666be70de4
diff --git a/tests/client/test_openapi.py b/tests/client/test_openapi.py
index 5ee33ce7e..903582f59 100644
--- a/tests/client/test_openapi.py
+++ b/tests/client/test_openapi.py
@@ -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")