Add HttpServerSessionMode for hybrid stateful/stateless HTTP serving (#1796)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Co-authored-by: Jeff Handley <jeffhandley@users.noreply.github.com>
This commit is contained in:
parent
bba45c44bf
commit
c6a97d94d6
1 changed files with 764 additions and 150 deletions
|
|
@ -11,7 +11,7 @@ namespace ModelContextProtocol.AspNetCore.Tests;
|
|||
public abstract partial class MapMcpTests
|
||||
{
|
||||
// Starting with the 2026-07-28 protocol revision, Streamable HTTP no longer supports sessions (SEP-2567):
|
||||
// the handler refuses a request when the server opted into sessions (Stateless = false), so a client pinned
|
||||
// the handler refuses a request when the server opted into sessions (SessionMode = HttpServerSessionMode.Stateful), so a client pinned
|
||||
// to that revision downgrades to legacy instead of negotiating 2026-07-28. These MRTR tests therefore can't
|
||||
// run on the stateful Streamable HTTP fixture; the same coverage runs on the stateless and legacy-SSE fixtures.
|
||||
private const string July2026StatefulStreamableHttpSkipReason =
|
||||
|
|
|
|||
Loading…
Reference in a new issue