mcp: do not call DELETE for sessionless & doc adjustments (#960)
This commit is contained in:
parent
8eb54632ad
commit
1253d17add
1 changed files with 32 additions and 11 deletions
|
|
@ -143,6 +143,9 @@ type ServerOptions struct {
|
|||
//
|
||||
// As a special case, if GetSessionID returns the empty string, the
|
||||
// Mcp-Session-Id header will not be set.
|
||||
//
|
||||
// GetSessionID is not consulted when [StreamableHTTPOptions.Stateless] is
|
||||
// true, since stateless servers do not maintain sessions.
|
||||
GetSessionID func() string
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue