We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4beb079 commit 23b804bCopy full SHA for 23b804b
1 file changed
mcp/streamable_test.go
@@ -3413,6 +3413,10 @@ func TestStreamableStateless_NewProtocolSession_NoFakeInit(t *testing.T) {
3413
httpReq.Header.Set("Content-Type", "application/json")
3414
httpReq.Header.Set("Accept", "application/json, text/event-stream")
3415
httpReq.Header.Set(protocolVersionHeader, protocolVersion20260630)
3416
+ // >= 2026-06-30 also requires the Mcp-Method and Mcp-Name standard
3417
+ // headers (see streamable_headers.go).
3418
+ httpReq.Header.Set(methodHeader, "tools/call")
3419
+ httpReq.Header.Set(nameHeader, "capture")
3420
3421
resp, err := http.DefaultClient.Do(httpReq)
3422
if err != nil {
0 commit comments