Fix loopback test networking.

This commit is contained in:
Georg Bauer committed 2026-07-21 19:02:07 +02:00
1 parent 9d3a092359
commit 489d3646f8
5 files changed
+83 -21

No files matched your search

+4 -1
View File
@@ -671,7 +671,10 @@ fn protocol_routes_every_family_and_http_enforces_loopback_origin_and_cors() {
);
let server = mcp::McpHttpServer::start(fixture.database_path.clone(), 0).unwrap();
let client = reqwest::blocking::Client::new();
let client = reqwest::blocking::Client::builder()
.no_proxy()
.build()
.unwrap();
let response = client
.post(server.endpoint())
.header("accept", "application/json, text/event-stream")