Fix loopback test networking.
This commit is contained in:
1 parent
9d3a092359
commit
489d3646f8
5 files changed
+83
-21
No files matched your search
@@ -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")
|
||||
|
||||
Reference in new issue
Block a user