返回 CodeWhale
auth_redirect_cross_origin.case.json
根目录 / crates / tui / tests / fixtures / conformance / mcp / auth_redirect_cross_origin.case.json
1 {
2 "description": "A server that answers initialize with a redirect to a different origin (a second loopback server, a different port). Pins Rust McpHttpClient::execute_inner / client_for_target: the redirect is refused (the secondary origin gets no operator authority), nothing is advertised, and the second server receives no request at all, so no credential can have been forwarded to it.",
3 "server_name": "conformance",
4 "bearer_secret": "conformance-secret-token-5d08b6aa13",
5 "expect_boot": "error",
6 "record_requests": "full",
7 "sink": true,
8 "server": {
9 "initialize": {
10 "http": {
11 "status": 307,
12 "headers": {
13 "Location": "{{sink_url}}"
14 },
15 "body": ""
16 }
17 }
18 },
19 "steps": [
20 {
21 "op": "catalog"
22 }
23 ]
24 }
25
25 lines JSON