Repository navigation
Commit 1f347a3
Fix: Remove unsupported 2024-11-05 protocol version from Streamable HTTP transport
The MCP 2024-11-05 protocol predates the Streamable HTTP transport and
only defines stdio and SSE transports. Listing it in
HttpServletStreamableServerTransportProvider.protocolVersions() is
incorrect since the transport cannot actually handle sessions
initialized via that protocol version.
Fixes modelcontextprotocol#750
Co-authored-by: Copilot <[email protected]>1 parent 26304a7 commit 1f347a3
1 file changed
Lines changed: 2 additions & 2 deletions
File tree
- mcp-core/src/main/java/io/modelcontextprotocol/server/transport
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
168 | 168 | | |
169 | 169 | | |
170 | 170 | | |
171 | | - | |
172 | | - | |
| 171 | + | |
| 172 | + | |
173 | 173 | | |
174 | 174 | | |
175 | 175 | | |
| |||
0 commit comments