Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/mcp/server/streamable_http.py
Original file line numberDiff line numberDiff line change
Expand Up@@ -669,7 +669,7 @@ async def _handle_get_request(self, request: Request, send: Send) -> None:
awaitresponse(request.scope, request.receive, send)
return

ifnotawaitself._validate_request_headers(request, send):# pragma: no cover
ifnotawaitself._validate_request_headers(request, send):
return

# Handle resumability: check for Last-Event-ID header
Expand Down
9 changes: 9 additions & 0 deletions tests/interaction/transports/__init__.py
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
"""Transport-specific interaction tests, and the in-process streaming bridge they are built on.
`StreamingASGITransport` is re-exported here as the sanctioned import point for test code
outside this suite (the bridge module itself is suite-private).
"""

fromtests.interaction.transports._bridgeimportStreamingASGITransport

__all__= ["StreamingASGITransport"]
Loading
Loading