-
Notifications
You must be signed in to change notification settings - Fork 133
Open
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomers
Description
Some clients add a charset to the content header:
application/json;charset=UTF-8
This breaks the full equals check here:
kotlin-sdk/src/commonMain/kotlin/io/modelcontextprotocol/kotlin/sdk/server/SSEServerTransport.kt
Line 75 in 9f00f22
if (ct != ContentType.Application.Json) { |
The following makes the equals check a bit more flexible, allowing charsets
ct.content != ContentType.Application.Json.content
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomers