Skip to content

Commit 01f5562

Browse files
committed
[disable-stream] bounce
1 parent 4a969d6 commit 01f5562

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/streamable_http.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ func (s *StreamableHTTPServer) handleGet(w http.ResponseWriter, r *http.Request)
412412
// get request is for listening to notifications
413413
// https://modelcontextprotocol.io/specification/2025-03-26/basic/transports#listening-for-messages-from-the-server
414414
if s.disableStreaming {
415-
s.logger.Debugf("Rejected GET request: streaming is disabled (session: %s)", r.Header.Get(HeaderKeySessionID))
415+
s.logger.Infof("Rejected GET request: streaming is disabled (session: %s)", r.Header.Get(HeaderKeySessionID))
416416
http.Error(w, "Streaming is disabled on this server", http.StatusMethodNotAllowed)
417417
return
418418
}

0 commit comments

Comments
 (0)