Fix loopback test networking.

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

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")