We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b726c86 commit d2ee4dfCopy full SHA for d2ee4df
src/mcp/server/fastmcp/server.py
@@ -782,11 +782,10 @@ def streamable_http_app(self) -> Starlette:
782
)
783
784
# Create the ASGI handler
785
- async def handle_streamable_http(request: Request) -> Response:
786
- await self.session_manager.handle_request(
787
- request.scope, request.receive, request._send
788
- )
789
- return Response()
+ async def handle_streamable_http(
+ scope: Scope, receive: Receive, send: Send
+ ) -> None:
+ await self.session_manager.handle_request(scope, receive, send)
790
791
# Create routes
792
routes: list[Route] = []
0 commit comments