Agent Mesh
Go a2aa2a-protocolagent-meshagentic-aiinferencemcpmeshmesh-networknetwork-securitynetworking-aip2p-network
mobile: handle GET requests in Dart mock MCP server to allow Streamable HTTP fallback
Antonio Ojea1293afcefcd5
diff --git a/mobile/sam-node-app/integration_test/e2e_test.dart b/mobile/sam-node-app/integration_test/e2e_test.dartindex dbf8181b..1e90c2b4 100644--- a/mobile/sam-node-app/integration_test/e2e_test.dart+++ b/mobile/sam-node-app/integration_test/e2e_test.dart@@ -71,6 +71,13 @@ void main() {// Start local Mock MCP Server inside the Android emulatorfinal mockMcpServer = await HttpServer.bind(InternetAddress.loopbackIPv4, 9090);mockMcpServer.listen((HttpRequest request) async {+ if (request.method == 'GET') {+ request.response+ ..statusCode = HttpStatus.notImplemented+ ..write('501 Unsupported method GET');+ await request.response.close();+ return;+ }try {final content = await utf8.decoder.bind(request).join();final body = jsonDecode(content);