We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e166ba7 commit a4c2809Copy full SHA for a4c2809
1 file changed
tests/shared/test_streamable_http.py
@@ -1607,7 +1607,7 @@ async def bad_client():
1607
@pytest.mark.anyio
1608
async def test_client_unexpected_content_type_raises_mcp_error():
1609
"""Test that unexpected content types raise McpError instead of just printing.
1610
-
+
1611
This test verifies that when a server returns HTML instead of MCP JSON,
1612
the client properly raises McpError wrapped in ExceptionGroup.
1613
"""
0 commit comments