File tree Expand file tree Collapse file tree 2 files changed +1
-5
lines changed
Expand file tree Collapse file tree 2 files changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -854,7 +854,6 @@ async def handle_streamable_http(request: Request) -> Response:
854854 routes = routes ,
855855 middleware = middleware ,
856856 lifespan = lambda app : self .session_manager .run (),
857- redirect_slashes = False ,
858857 )
859858
860859 async def list_prompts (self ) -> list [MCPPrompt ]:
Original file line number Diff line number Diff line change @@ -129,16 +129,13 @@ async def test_starlette_routes_with_mount_path(self):
129129
130130 # Find routes by type
131131 streamable_routes = [r for r in app .routes if isinstance (r , Route )]
132- mount_routes = [r for r in app .routes if isinstance (r , Mount )]
133132
134133 # Verify routes exist
135134 assert len (streamable_routes ) == 2 , "Should have two streamable routes"
136135
137136 # Verify path values
138137 assert streamable_routes [0 ].path == "/mcp" , "Streamable route path should be /mcp"
139- assert streamable_routes [1 ].path == "/mcp/" , "Streamable route path should be /mcp"
140-
141-
138+ assert streamable_routes [1 ].path == "/mcp/" , "Streamable route path should be /mcp/"
142139
143140 @pytest .mark .anyio
144141 async def test_non_ascii_description (self ):
You can’t perform that action at this time.
0 commit comments