Skip to content

Commit eadd702

Browse files
committed
Format
1 parent 4a1010e commit eadd702

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

client/transport/streamable_http.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ func (c *StreamableHTTP) SendNotification(ctx context.Context, notification mcp.
356356

357357
// Set headers
358358
req.Header.Set("Content-Type", "application/json")
359-
req.Header.Set("Accept", "application/json, text/event-stream")
359+
req.Header.Set("Accept", "application/json, text/event-stream")
360360
if sessionID := c.sessionID.Load(); sessionID != "" {
361361
req.Header.Set(headerKeySessionID, sessionID.(string))
362362
}

examples/dynamic_path/main.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,3 @@ func main() {
4343
log.Fatalf("Server error: %v", err)
4444
}
4545
}
46-

0 commit comments

Comments
 (0)