File tree Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 1+ ## 0.6.4
2+
3+ - Fix issue with StreamableHTTP server not setting correct content-type for SSE
4+
15## 0.6.3
26
37- Replace print statements with lightweight logging implementation
Original file line number Diff line number Diff line change @@ -298,7 +298,7 @@ class StreamableHTTPServerTransport implements Transport {
298298 eventData += "data: ${jsonEncode (message .toJson ())}\n\n " ;
299299
300300 try {
301- res.write ( eventData);
301+ res.add (utf8. encode ( eventData) );
302302 res.flush ();
303303 return true ;
304304 } catch (e) {
Original file line number Diff line number Diff line change 11name : mcp_dart
22description : Dart Implementation of Model Context Protocol (MCP) SDK.
3- version : 0.6.3
3+ version : 0.6.4
44repository : https://github.com/leehack/mcp_dart
55
66environment :
You can’t perform that action at this time.
0 commit comments