NVIDIA OpenShell · live validation · 9 September 2026

Response middleware under test

PR #3074 · commit 555ff3289 · real Docker sandbox, external gRPC services, measured HTTP responses

85 / 86live scenarios passed
65 / 65selected runtime and relay regressions passed
5,670retained primary latency observations

One protocol mismatch needs a fix

The upstream sends Content-Length: 19, but external middleware preflight omits it. The protocol promises read-only visibility. The relay's visibility filter drops it because it shares the protected-field list.

Delivery and internal size-limit enforcement passed. Middleware cannot use the advertised size from its promised metadata. Keep this header visible while continuing to forbid mutations. No source fix was applied.

What worked, and what to account for

Single and chained stages

All nine ordered mode pairs and five three-stage chains passed. Redaction, deletion, header and trailer changes, skips, blocks, RPC timeouts, invalid replies, and fail-open/fail-closed behaved as expected. Later stages still ran after skip_remaining or fail-open. All 14 extra event-order and final-unit checks passed.

Delivery and body boundaries

Whole-body blocks returned 403. Streaming blocks after commitment left an incomplete 200 response and curl error 18. A whole-body stage anywhere in a mixed chain delayed delivery. A literal split across two units evaded the stateless streaming redactor; whole-body inspection caught it.

Also exercised bodyless, encoded, partial, no-transform, empty, chunked, and trailer-bearing responses; 32-byte per-stage limits; growth across stages; and 1 MiB streaming through one and two stages.

Measured overhead

One lightweight external service added about 0.74 ms header-only, 1.59 ms whole-body, or 1.81 ms streaming on the 19-byte CONNECT path. Two streaming stages added 4.38 ms for 19 bytes and 8.89 ms for 256 KiB.

Added median latency by middleware configuration, payload size, and proxy path

Local ARM64 host, optimized supervisor, Python gRPC fixtures, plaintext transport. This includes service and transport work. It does not isolate the Rust runtime alone or predict production network latency.

CONNECT tunnels with connection reuse

Milliseconds. Bold numbers are medians; p95 and added median latency appear below each. Each cell has 105 observations. All retained transfers reused the existing connection.

Chain19 bytes64 KiB256 KiB
No middleware0.79p95 1.06 · +0.000.75p95 1.15 · +0.000.91p95 1.36 · +0.00
1 header-only1.53p95 2.18 · +0.741.65p95 2.12 · +0.901.91p95 2.60 · +1.00
1 whole-body2.38p95 3.42 · +1.592.54p95 3.31 · +1.793.80p95 4.66 · +2.89
1 streaming2.60p95 3.81 · +1.813.10p95 3.98 · +2.354.98p95 6.49 · +4.07
2 header-only2.44p95 2.95 · +1.652.42p95 3.36 · +1.672.63p95 3.33 · +1.72
2 whole-body3.95p95 5.15 · +3.164.53p95 5.62 · +3.786.32p95 7.61 · +5.41
2 streaming5.17p95 6.52 · +4.385.29p95 6.70 · +4.559.80p95 11.62 · +8.89
Streaming → whole-body3.97p95 5.44 · +3.185.06p95 6.46 · +4.317.39p95 9.00 · +6.48
Header-only → whole-body → streaming5.39p95 6.74 · +4.606.06p95 7.41 · +5.317.96p95 10.12 · +7.05

Ordinary HTTP forward proxy

The proxy closed each connection. All retained transfers opened a new connection. CLI/SSH startup is excluded from both paths.

Chain19 bytes64 KiB256 KiB
No middleware4.96p95 5.67 · +0.004.79p95 5.63 · +0.004.97p95 5.90 · +0.00
1 header-only5.18p95 6.65 · +0.235.59p95 6.77 · +0.805.85p95 6.91 · +0.88
1 whole-body5.43p95 7.06 · +0.486.21p95 7.75 · +1.427.43p95 9.45 · +2.46
1 streaming6.93p95 8.45 · +1.987.25p95 8.60 · +2.469.23p95 10.84 · +4.26
2 header-only6.57p95 7.69 · +1.616.45p95 7.58 · +1.676.27p95 7.90 · +1.30
2 whole-body7.79p95 9.34 · +2.838.74p95 10.51 · +3.9610.44p95 12.13 · +5.47
2 streaming8.42p95 10.56 · +3.469.19p95 10.98 · +4.4013.39p95 16.34 · +8.42
Streaming → whole-body8.43p95 10.10 · +3.478.91p95 10.52 · +4.1212.12p95 14.00 · +7.15
Header-only → whole-body → streaming9.18p95 10.91 · +4.229.10p95 10.80 · +4.3112.72p95 14.63 · +7.76

Whole-body inspection postpones the first byte

The upstream sent three chunks separated by two 60 ms gaps. A whole-body stage withheld the response head until collection completed, even when a streaming stage preceded it.

ChainMedian first byte, msMedian completion, ms
No middleware5.20126.12
1 header-only5.98125.78
1 whole-body127.19127.29
1 streaming6.61128.14
Streaming → whole-body130.26130.37

12 observations per row. Curl first byte measures response-head arrival, not the first body byte.

All 86 live scenarios

Expand a case for the observed response, assertions, and middleware event trace.

ResultCase and evidenceStage modesHTTP / curl
PASS
baseline
{
  "path": "/fixed",
  "stages": [],
  "checks": {
    "status": true,
    "curl_code": true,
    "body": true
  },
  "response": {
    "status": 200,
    "curl_code": 0,
    "headers": "HTTP/1.1 200 OK\nServer: BaseHTTP/0.6 Python/3.12.3\nDate: Wed, 09 Sep 2026 17:41:22 GMT\nContent-Type: text/plain\nX-Origin: fixture\nETag: \"original\"\nContent-Length: 19\n\n",
    "bytes": 19,
    "sample": "alpha secret omega\n"
  },
  "middleware_events": []
}
Baseline200curl 0
PASS
single-1-pass
{
  "path": "/fixed",
  "stages": [
    {
      "mode": 1
    }
  ],
  "checks": {
    "status": true,
    "curl_code": true,
    "body": true
  },
  "response": {
    "status": 200,
    "curl_code": 0,
    "headers": "HTTP/1.1 200 OK\nServer: BaseHTTP/0.6 Python/3.12.3\nDate: Wed, 09 Sep 2026 17:41:23 GMT\nContent-Type: text/plain\nX-Origin: fixture\nETag: \"original\"\nContent-Length: 19\n\n",
    "bytes": 19,
    "sample": "alpha secret omega\n"
  },
  "middleware_events": [
    {
      "time": 1788975683.8369515,
      "service": "fixture-1",
      "request_id": "243e2f34-70d0-46af-9042-86fdadce47c3",
      "path": "/fixed",
      "kind": "preflight",
      "modes": [
        1,
        2,
        3
      ],
      "limit": 262144,
      "headers": [
        {
          "name": "server",
          "value": "BaseHTTP/0.6 Python/3.12.3"
        },
        {
          "name": "date",
          "value": "Wed, 09 Sep 2026 17:41:23 GMT"
        },
        {
          "name": "content-type",
          "value": "text/plain"
        },
        {
          "name": "x-origin",
          "value": "fixture"
        },
        {
          "name": "etag",
          "value": "\"original\""
        }
      ],
      "config": {
        "mode": 1.0
      }
    }
  ]
}
Headers200curl 0
PASS
single-1-skip
{
  "path": "/fixed",
  "stages": [
    {
      "mode": 1,
      "preflight": "skip"
    }
  ],
  "checks": {
    "status": true,
    "curl_code": true,
    "body": true
  },
  "response": {
    "status": 200,
    "curl_code": 0,
    "headers": "HTTP/1.1 200 OK\nServer: BaseHTTP/0.6 Python/3.12.3\nDate: Wed, 09 Sep 2026 17:41:24 GMT\nContent-Type: text/plain\nX-Origin: fixture\nETag: \"original\"\nContent-Length: 19\n\n",
    "bytes": 19,
    "sample": "alpha secret omega\n"
  },
  "middleware_events": [
    {
      "time": 1788975684.9721663,
      "service": "fixture-1",
      "request_id": "6c2694fd-db7e-4017-9e63-3cb2fd89e95b",
      "path": "/fixed",
      "kind": "preflight",
      "modes": [
        1,
        2,
        3
      ],
      "limit": 262144,
      "headers": [
        {
          "name": "server",
          "value": "BaseHTTP/0.6 Python/3.12.3"
        },
        {
          "name": "date",
          "value": "Wed, 09 Sep 2026 17:41:24 GMT"
        },
        {
          "name": "content-type",
          "value": "text/plain"
        },
        {
          "name": "x-origin",
          "value": "fixture"
        },
        {
          "name": "etag",
          "value": "\"original\""
        }
      ],
      "config": {
        "preflight": "skip",
        "mode": 1.0
      }
    }
  ]
}
Headers200curl 0
PASS
single-1-header
{
  "path": "/fixed",
  "stages": [
    {
      "mode": 1,
      "header": "added"
    }
  ],
  "checks": {
    "status": true,
    "curl_code": true,
    "body": true,
    "header": true
  },
  "response": {
    "status": 200,
    "curl_code": 0,
    "headers": "HTTP/1.1 200 OK\nserver: BaseHTTP/0.6 Python/3.12.3\ndate: Wed, 09 Sep 2026 17:41:26 GMT\ncontent-type: text/plain\nx-origin: fixture\netag: \"original\"\nx-live-test: added\nContent-Length: 19\n\n",
    "bytes": 19,
    "sample": "alpha secret omega\n"
  },
  "middleware_events": [
    {
      "time": 1788975686.1109655,
      "service": "fixture-1",
      "request_id": "ad1a9842-9fc4-4cce-ae5d-0bfa4ee72488",
      "path": "/fixed",
      "kind": "preflight",
      "modes": [
        1,
        2,
        3
      ],
      "limit": 262144,
      "headers": [
        {
          "name": "server",
          "value": "BaseHTTP/0.6 Python/3.12.3"
        },
        {
          "name": "date",
          "value": "Wed, 09 Sep 2026 17:41:26 GMT"
        },
        {
          "name": "content-type",
          "value": "text/plain"
        },
        {
          "name": "x-origin",
          "value": "fixture"
        },
        {
          "name": "etag",
          "value": "\"original\""
        }
      ],
      "config": {
        "mode": 1.0,
        "header": "added"
      }
    }
  ]
}
Headers200curl 0
PASS
single-1-preflight-block
{
  "path": "/fixed",
  "stages": [
    {
      "mode": 1,
      "preflight": "block_delivery"
    }
  ],
  "checks": {
    "status": true,
    "curl_code": true,
    "canonical_error": true
  },
  "response": {
    "status": 403,
    "curl_code": 0,
    "headers": "HTTP/1.1 403 Forbidden\nContent-Type: application/json\nContent-Length: 267\nX-OpenShell-Policy: upstream\nConnection: close\n\n",
    "bytes": 267,
    "sample": "{\"detail\":\"Response blocked by configured middleware\",\"error\":\"middleware_denied\",\"host\":\"host.openshell.internal\",\"layer\":\"http_response_pre_return\","
  },
  "middleware_events": [
    {
      "time": 1788975687.2429454,
      "service": "fixture-1",
      "request_id": "ac11082b-b030-448c-b6bc-2167ac453c38",
      "path": "/fixed",
      "kind": "preflight",
      "modes": [
        1,
        2,
        3
      ],
      "limit": 262144,
      "headers": [
        {
          "name": "server",
          "value": "BaseHTTP/0.6 Python/3.12.3"
        },
        {
          "name": "date",
          "value": "Wed, 09 Sep 2026 17:41:27 GMT"
        },
        {
          "name": "content-type",
          "value": "text/plain"
        },
        {
          "name": "x-origin",
          "value": "fixture"
        },
        {
          "name": "etag",
          "value": "\"original\""
        }
      ],
      "config": {
        "preflight": "block_delivery",
        "mode": 1.0
      }
    }
  ]
}
Headers403curl 0
PASS
single-2-pass
{
  "path": "/fixed",
  "stages": [
    {
      "mode": 2
    }
  ],
  "checks": {
    "status": true,
    "curl_code": true,
    "body": true
  },
  "response": {
    "status": 200,
    "curl_code": 0,
    "headers": "HTTP/1.1 200 OK\nserver: BaseHTTP/0.6 Python/3.12.3\ndate: Wed, 09 Sep 2026 17:41:28 GMT\ncontent-type: text/plain\nx-origin: fixture\netag: \"original\"\nContent-Length: 19\n\n",
    "bytes": 19,
    "sample": "alpha secret omega\n"
  },
  "middleware_events": [
    {
      "time": 1788975688.376777,
      "service": "fixture-1",
      "request_id": "88569fae-ecb5-44f6-a010-412d588fe7db",
      "path": "/fixed",
      "kind": "preflight",
      "modes": [
        1,
        2,
        3
      ],
      "limit": 262144,
      "headers": [
        {
          "name": "server",
          "value": "BaseHTTP/0.6 Python/3.12.3"
        },
        {
          "name": "date",
          "value": "Wed, 09 Sep 2026 17:41:28 GMT"
        },
        {
          "name": "content-type",
          "value": "text/plain"
        },
        {
          "name": "x-origin",
          "value": "fixture"
        },
        {
          "name": "etag",
          "value": "\"original\""
        }
      ],
      "config": {
        "mode": 2.0
      }
    },
    {
      "time": 1788975688.3776257,
      "service": "fixture-1",
      "request_id": "88569fae-ecb5-44f6-a010-412d588fe7db",
      "path": "/fixed",
      "kind": "body",
      "seq": 1,
      "final": true,
      "length": 19,
      "sample": "alpha secret omega\n",
      "sha256": "5db0d32646959fa18ff5f7ba0ebeb4b2eb21a38e8e66465c0ba6f0ec1c28355f"
    },
    {
      "time": 1788975688.378227,
      "service": "fixture-1",
      "request_id": "88569fae-ecb5-44f6-a010-412d588fe7db",
      "path": "/fixed",
      "kind": "trailers",
      "trailers": {}
    }
  ]
}
Whole200curl 0
PASS
single-2-skip
{
  "path": "/fixed",
  "stages": [
    {
      "mode": 2,
      "preflight": "skip"
    }
  ],
  "checks": {
    "status": true,
    "curl_code": true,
    "body": true
  },
  "response": {
    "status": 200,
    "curl_code": 0,
    "headers": "HTTP/1.1 200 OK\nServer: BaseHTTP/0.6 Python/3.12.3\nDate: Wed, 09 Sep 2026 17:41:29 GMT\nContent-Type: text/plain\nX-Origin: fixture\nETag: \"original\"\nContent-Length: 19\n\n",
    "bytes": 19,
    "sample": "alpha secret omega\n"
  },
  "middleware_events": [
    {
      "time": 1788975689.5100052,
      "service": "fixture-1",
      "request_id": "3d2094eb-d859-4d75-b7ee-6dc7c3c74d0f",
      "path": "/fixed",
      "kind": "preflight",
      "modes": [
        1,
        2,
        3
      ],
      "limit": 262144,
      "headers": [
        {
          "name": "server",
          "value": "BaseHTTP/0.6 Python/3.12.3"
        },
        {
          "name": "date",
          "value": "Wed, 09 Sep 2026 17:41:29 GMT"
        },
        {
          "name": "content-type",
          "value": "text/plain"
        },
        {
          "name": "x-origin",
          "value": "fixture"
        },
        {
          "name": "etag",
          "value": "\"original\""
        }
      ],
      "config": {
        "preflight": "skip",
        "mode": 2.0
      }
    }
  ]
}
Whole200curl 0
PASS
single-2-header
{
  "path": "/fixed",
  "stages": [
    {
      "mode": 2,
      "header": "added"
    }
  ],
  "checks": {
    "status": true,
    "curl_code": true,
    "body": true,
    "header": true
  },
  "response": {
    "status": 200,
    "curl_code": 0,
    "headers": "HTTP/1.1 200 OK\nserver: BaseHTTP/0.6 Python/3.12.3\ndate: Wed, 09 Sep 2026 17:41:30 GMT\ncontent-type: text/plain\nx-origin: fixture\netag: \"original\"\nx-live-test: added\nContent-Length: 19\n\n",
    "bytes": 19,
    "sample": "alpha secret omega\n"
  },
  "middleware_events": [
    {
      "time": 1788975690.650482,
      "service": "fixture-1",
      "request_id": "5227870b-3ecc-4e97-a3ba-e524c052a3f4",
      "path": "/fixed",
      "kind": "preflight",
      "modes": [
        1,
        2,
        3
      ],
      "limit": 262144,
      "headers": [
        {
          "name": "server",
          "value": "BaseHTTP/0.6 Python/3.12.3"
        },
        {
          "name": "date",
          "value": "Wed, 09 Sep 2026 17:41:30 GMT"
        },
        {
          "name": "content-type",
          "value": "text/plain"
        },
        {
          "name": "x-origin",
          "value": "fixture"
        },
        {
          "name": "etag",
          "value": "\"original\""
        }
      ],
      "config": {
        "mode": 2.0,
        "header": "added"
      }
    },
    {
      "time": 1788975690.6511023,
      "service": "fixture-1",
      "request_id": "5227870b-3ecc-4e97-a3ba-e524c052a3f4",
      "path": "/fixed",
      "kind": "body",
      "seq": 1,
      "final": true,
      "length": 19,
      "sample": "alpha secret omega\n",
      "sha256": "5db0d32646959fa18ff5f7ba0ebeb4b2eb21a38e8e66465c0ba6f0ec1c28355f"
    },
    {
      "time": 1788975690.6512957,
      "service": "fixture-1",
      "request_id": "5227870b-3ecc-4e97-a3ba-e524c052a3f4",
      "path": "/fixed",
      "kind": "trailers",
      "trailers": {}
    }
  ]
}
Whole200curl 0
PASS
single-2-preflight-block
{
  "path": "/fixed",
  "stages": [
    {
      "mode": 2,
      "preflight": "block_delivery"
    }
  ],
  "checks": {
    "status": true,
    "curl_code": true,
    "canonical_error": true
  },
  "response": {
    "status": 403,
    "curl_code": 0,
    "headers": "HTTP/1.1 403 Forbidden\nContent-Type: application/json\nContent-Length: 267\nX-OpenShell-Policy: upstream\nConnection: close\n\n",
    "bytes": 267,
    "sample": "{\"detail\":\"Response blocked by configured middleware\",\"error\":\"middleware_denied\",\"host\":\"host.openshell.internal\",\"layer\":\"http_response_pre_return\","
  },
  "middleware_events": [
    {
      "time": 1788975691.7942526,
      "service": "fixture-1",
      "request_id": "b96652ed-74da-47b6-b620-8b8efb025d4c",
      "path": "/fixed",
      "kind": "preflight",
      "modes": [
        1,
        2,
        3
      ],
      "limit": 262144,
      "headers": [
        {
          "name": "server",
          "value": "BaseHTTP/0.6 Python/3.12.3"
        },
        {
          "name": "date",
          "value": "Wed, 09 Sep 2026 17:41:31 GMT"
        },
        {
          "name": "content-type",
          "value": "text/plain"
        },
        {
          "name": "x-origin",
          "value": "fixture"
        },
        {
          "name": "etag",
          "value": "\"original\""
        }
      ],
      "config": {
        "preflight": "block_delivery",
        "mode": 2.0
      }
    }
  ]
}
Whole403curl 0
PASS
single-3-pass
{
  "path": "/fixed",
  "stages": [
    {
      "mode": 3
    }
  ],
  "checks": {
    "status": true,
    "curl_code": true,
    "body": true
  },
  "response": {
    "status": 200,
    "curl_code": 0,
    "headers": "HTTP/1.1 200 OK\nserver: BaseHTTP/0.6 Python/3.12.3\ndate: Wed, 09 Sep 2026 17:41:32 GMT\ncontent-type: text/plain\nx-origin: fixture\nTransfer-Encoding: chunked\n\n",
    "bytes": 19,
    "sample": "alpha secret omega\n"
  },
  "middleware_events": [
    {
      "time": 1788975692.9198356,
      "service": "fixture-1",
      "request_id": "2533c398-c261-4df7-b6be-c37e183a7c5a",
      "path": "/fixed",
      "kind": "preflight",
      "modes": [
        1,
        2,
        3
      ],
      "limit": 262144,
      "headers": [
        {
          "name": "server",
          "value": "BaseHTTP/0.6 Python/3.12.3"
        },
        {
          "name": "date",
          "value": "Wed, 09 Sep 2026 17:41:32 GMT"
        },
        {
          "name": "content-type",
          "value": "text/plain"
        },
        {
          "name": "x-origin",
          "value": "fixture"
        },
        {
          "name": "etag",
          "value": "\"original\""
        }
      ],
      "config": {
        "mode": 3.0
      }
    },
    {
      "time": 1788975692.9204865,
      "service": "fixture-1",
      "request_id": "2533c398-c261-4df7-b6be-c37e183a7c5a",
      "path": "/fixed",
      "kind": "body",
      "seq": 1,
      "final": false,
      "length": 19,
      "sample": "alpha secret omega\n",
      "sha256": "5db0d32646959fa18ff5f7ba0ebeb4b2eb21a38e8e66465c0ba6f0ec1c28355f"
    },
    {
      "time": 1788975692.920715,
      "service": "fixture-1",
      "request_id": "2533c398-c261-4df7-b6be-c37e183a7c5a",
      "path": "/fixed",
      "kind": "body",
      "seq": 2,
      "final": true,
      "length": 0,
      "sample": "",
      "sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
    },
    {
      "time": 1788975692.9208896,
      "service": "fixture-1",
      "request_id": "2533c398-c261-4df7-b6be-c37e183a7c5a",
      "path": "/fixed",
      "kind": "trailers",
      "trailers": {}
    }
  ]
}
Stream200curl 0
PASS
single-3-skip
{
  "path": "/fixed",
  "stages": [
    {
      "mode": 3,
      "preflight": "skip"
    }
  ],
  "checks": {
    "status": true,
    "curl_code": true,
    "body": true
  },
  "response": {
    "status": 200,
    "curl_code": 0,
    "headers": "HTTP/1.1 200 OK\nServer: BaseHTTP/0.6 Python/3.12.3\nDate: Wed, 09 Sep 2026 17:41:34 GMT\nContent-Type: text/plain\nX-Origin: fixture\nETag: \"original\"\nContent-Length: 19\n\n",
    "bytes": 19,
    "sample": "alpha secret omega\n"
  },
  "middleware_events": [
    {
      "time": 1788975694.067643,
      "service": "fixture-1",
      "request_id": "bad9b1de-733f-4ba8-8f96-ef5053a44252",
      "path": "/fixed",
      "kind": "preflight",
      "modes": [
        1,
        2,
        3
      ],
      "limit": 262144,
      "headers": [
        {
          "name": "server",
          "value": "BaseHTTP/0.6 Python/3.12.3"
        },
        {
          "name": "date",
          "value": "Wed, 09 Sep 2026 17:41:34 GMT"
        },
        {
          "name": "content-type",
          "value": "text/plain"
        },
        {
          "name": "x-origin",
          "value": "fixture"
        },
        {
          "name": "etag",
          "value": "\"original\""
        }
      ],
      "config": {
        "preflight": "skip",
        "mode": 3.0
      }
    }
  ]
}
Stream200curl 0
PASS
single-3-header
{
  "path": "/fixed",
  "stages": [
    {
      "mode": 3,
      "header": "added"
    }
  ],
  "checks": {
    "status": true,
    "curl_code": true,
    "body": true,
    "header": true
  },
  "response": {
    "status": 200,
    "curl_code": 0,
    "headers": "HTTP/1.1 200 OK\nserver: BaseHTTP/0.6 Python/3.12.3\ndate: Wed, 09 Sep 2026 17:41:35 GMT\ncontent-type: text/plain\nx-origin: fixture\nx-live-test: added\nTransfer-Encoding: chunked\n\n",
    "bytes": 19,
    "sample": "alpha secret omega\n"
  },
  "middleware_events": [
    {
      "time": 1788975695.2062607,
      "service": "fixture-1",
      "request_id": "67147973-649b-434d-b454-e002a48446c4",
      "path": "/fixed",
      "kind": "preflight",
      "modes": [
        1,
        2,
        3
      ],
      "limit": 262144,
      "headers": [
        {
          "name": "server",
          "value": "BaseHTTP/0.6 Python/3.12.3"
        },
        {
          "name": "date",
          "value": "Wed, 09 Sep 2026 17:41:35 GMT"
        },
        {
          "name": "content-type",
          "value": "text/plain"
        },
        {
          "name": "x-origin",
          "value": "fixture"
        },
        {
          "name": "etag",
          "value": "\"original\""
        }
      ],
      "config": {
        "mode": 3.0,
        "header": "added"
      }
    },
    {
      "time": 1788975695.2068374,
      "service": "fixture-1",
      "request_id": "67147973-649b-434d-b454-e002a48446c4",
      "path": "/fixed",
      "kind": "body",
      "seq": 1,
      "final": false,
      "length": 19,
      "sample": "alpha secret omega\n",
      "sha256": "5db0d32646959fa18ff5f7ba0ebeb4b2eb21a38e8e66465c0ba6f0ec1c28355f"
    },
    {
      "time": 1788975695.2072487,
      "service": "fixture-1",
      "request_id": "67147973-649b-434d-b454-e002a48446c4",
      "path": "/fixed",
      "kind": "body",
      "seq": 2,
      "final": true,
      "length": 0,
      "sample": "",
      "sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
    },
    {
      "time": 1788975695.2075417,
      "service": "fixture-1",
      "request_id": "67147973-649b-434d-b454-e002a48446c4",
      "path": "/fixed",
      "kind": "trailers",
      "trailers": {}
    }
  ]
}
Stream200curl 0
PASS
single-3-preflight-block
{
  "path": "/fixed",
  "stages": [
    {
      "mode": 3,
      "preflight": "block_delivery"
    }
  ],
  "checks": {
    "status": true,
    "curl_code": true,
    "canonical_error": true
  },
  "response": {
    "status": 403,
    "curl_code": 0,
    "headers": "HTTP/1.1 403 Forbidden\nContent-Type: application/json\nContent-Length: 267\nX-OpenShell-Policy: upstream\nConnection: close\n\n",
    "bytes": 267,
    "sample": "{\"detail\":\"Response blocked by configured middleware\",\"error\":\"middleware_denied\",\"host\":\"host.openshell.internal\",\"layer\":\"http_response_pre_return\","
  },
  "middleware_events": [
    {
      "time": 1788975696.350662,
      "service": "fixture-1",
      "request_id": "67b58a45-ed36-4dc6-a66c-40e7dc3dc1fd",
      "path": "/fixed",
      "kind": "preflight",
      "modes": [
        1,
        2,
        3
      ],
      "limit": 262144,
      "headers": [
        {
          "name": "server",
          "value": "BaseHTTP/0.6 Python/3.12.3"
        },
        {
          "name": "date",
          "value": "Wed, 09 Sep 2026 17:41:36 GMT"
        },
        {
          "name": "content-type",
          "value": "text/plain"
        },
        {
          "name": "x-origin",
          "value": "fixture"
        },
        {
          "name": "etag",
          "value": "\"original\""
        }
      ],
      "config": {
        "preflight": "block_delivery",
        "mode": 3.0
      }
    }
  ]
}
Stream403curl 0
PASS
single-2-transform
{
  "path": "/fixed",
  "stages": [
    {
      "mode": 2,
      "body": "transform"
    }
  ],
  "checks": {
    "status": true,
    "curl_code": true,
    "body": true,
    "absent_header": true
  },
  "response": {
    "status": 200,
    "curl_code": 0,
    "headers": "HTTP/1.1 200 OK\nserver: BaseHTTP/0.6 Python/3.12.3\ndate: Wed, 09 Sep 2026 17:41:37 GMT\ncontent-type: text/plain\nx-origin: fixture\nContent-Length: 23\n\n",
    "bytes": 23,
    "sample": "alpha [REDACTED] omega\n"
  },
  "middleware_events": [
    {
      "time": 1788975697.4853797,
      "service": "fixture-1",
      "request_id": "d784a228-456b-47e3-8323-9795812859ce",
      "path": "/fixed",
      "kind": "preflight",
      "modes": [
        1,
        2,
        3
      ],
      "limit": 262144,
      "headers": [
        {
          "name": "server",
          "value": "BaseHTTP/0.6 Python/3.12.3"
        },
        {
          "name": "date",
          "value": "Wed, 09 Sep 2026 17:41:37 GMT"
        },
        {
          "name": "content-type",
          "value": "text/plain"
        },
        {
          "name": "x-origin",
          "value": "fixture"
        },
        {
          "name": "etag",
          "value": "\"original\""
        }
      ],
      "config": {
        "body": "transform",
        "mode": 2.0
      }
    },
    {
      "time": 1788975697.4859078,
      "service": "fixture-1",
      "request_id": "d784a228-456b-47e3-8323-9795812859ce",
      "path": "/fixed",
      "kind": "body",
      "seq": 1,
      "final": true,
      "length": 19,
      "sample": "alpha secret omega\n",
      "sha256": "5db0d32646959fa18ff5f7ba0ebeb4b2eb21a38e8e66465c0ba6f0ec1c28355f"
    },
    {
      "time": 1788975697.486094,
      "service": "fixture-1",
      "request_id": "d784a228-456b-47e3-8323-9795812859ce",
      "path": "/fixed",
      "kind": "trailers",
      "trailers": {}
    }
  ]
}
Whole200curl 0
PASS
single-2-delete
{
  "path": "/fixed",
  "stages": [
    {
      "mode": 2,
      "body": "transform",
      "delete": true
    }
  ],
  "checks": {
    "status": true,
    "curl_code": true,
    "body": true
  },
  "response": {
    "status": 200,
    "curl_code": 0,
    "headers": "HTTP/1.1 200 OK\nserver: BaseHTTP/0.6 Python/3.12.3\ndate: Wed, 09 Sep 2026 17:41:38 GMT\ncontent-type: text/plain\nx-origin: fixture\nContent-Length: 0\n\n",
    "bytes": 0,
    "sample": ""
  },
  "middleware_events": [
    {
      "time": 1788975698.6306071,
      "service": "fixture-1",
      "request_id": "d62ccb4e-3645-4314-be98-576c081b0a96",
      "path": "/fixed",
      "kind": "preflight",
      "modes": [
        1,
        2,
        3
      ],
      "limit": 262144,
      "headers": [
        {
          "name": "server",
          "value": "BaseHTTP/0.6 Python/3.12.3"
        },
        {
          "name": "date",
          "value": "Wed, 09 Sep 2026 17:41:38 GMT"
        },
        {
          "name": "content-type",
          "value": "text/plain"
        },
        {
          "name": "x-origin",
          "value": "fixture"
        },
        {
          "name": "etag",
          "value": "\"original\""
        }
      ],
      "config": {
        "body": "transform",
        "mode": 2.0,
        "delete": true
      }
    },
    {
      "time": 1788975698.6313787,
      "service": "fixture-1",
      "request_id": "d62ccb4e-3645-4314-be98-576c081b0a96",
      "path": "/fixed",
      "kind": "body",
      "seq": 1,
      "final": true,
      "length": 19,
      "sample": "alpha secret omega\n",
      "sha256": "5db0d32646959fa18ff5f7ba0ebeb4b2eb21a38e8e66465c0ba6f0ec1c28355f"
    },
    {
      "time": 1788975698.6318047,
      "service": "fixture-1",
      "request_id": "d62ccb4e-3645-4314-be98-576c081b0a96",
      "path": "/fixed",
      "kind": "trailers",
      "trailers": {}
    }
  ]
}
Whole200curl 0
PASS
single-2-body-block
{
  "path": "/fixed",
  "stages": [
    {
      "mode": 2,
      "body": "block_delivery"
    }
  ],
  "checks": {
    "status": true,
    "curl_code": true,
    "canonical_error": true
  },
  "response": {
    "status": 403,
    "curl_code": 0,
    "headers": "HTTP/1.1 403 Forbidden\nContent-Type: application/json\nContent-Length: 267\nX-OpenShell-Policy: upstream\nConnection: close\n\n",
    "bytes": 267,
    "sample": "{\"detail\":\"Response blocked by configured middleware\",\"error\":\"middleware_denied\",\"host\":\"host.openshell.internal\",\"layer\":\"http_response_pre_return\","
  },
  "middleware_events": [
    {
      "time": 1788975699.7634099,
      "service": "fixture-1",
      "request_id": "2082bd2f-8a1d-4c44-aa3a-2f74b2a6353f",
      "path": "/fixed",
      "kind": "preflight",
      "modes": [
        1,
        2,
        3
      ],
      "limit": 262144,
      "headers": [
        {
          "name": "server",
          "value": "BaseHTTP/0.6 Python/3.12.3"
        },
        {
          "name": "date",
          "value": "Wed, 09 Sep 2026 17:41:39 GMT"
        },
        {
          "name": "content-type",
          "value": "text/plain"
        },
        {
          "name": "x-origin",
          "value": "fixture"
        },
        {
          "name": "etag",
          "value": "\"original\""
        }
      ],
      "config": {
        "body": "block_delivery",
        "mode": 2.0
      }
    },
    {
      "time": 1788975699.764253,
      "service": "fixture-1",
      "request_id": "2082bd2f-8a1d-4c44-aa3a-2f74b2a6353f",
      "path": "/fixed",
      "kind": "body",
      "seq": 1,
      "final": true,
      "length": 19,
      "sample": "alpha secret omega\n",
      "sha256": "5db0d32646959fa18ff5f7ba0ebeb4b2eb21a38e8e66465c0ba6f0ec1c28355f"
    }
  ]
}
Whole403curl 0
PASS
single-2-skip-remaining
{
  "path": "/fixed",
  "stages": [
    {
      "mode": 2,
      "body": "skip_remaining"
    }
  ],
  "checks": {
    "status": true,
    "curl_code": true,
    "body": true
  },
  "response": {
    "status": 200,
    "curl_code": 0,
    "headers": "HTTP/1.1 200 OK\nserver: BaseHTTP/0.6 Python/3.12.3\ndate: Wed, 09 Sep 2026 17:41:40 GMT\ncontent-type: text/plain\nx-origin: fixture\netag: \"original\"\nContent-Length: 19\n\n",
    "bytes": 19,
    "sample": "alpha secret omega\n"
  },
  "middleware_events": [
    {
      "time": 1788975700.9107788,
      "service": "fixture-1",
      "request_id": "0ea20e31-6b86-4ceb-a184-d59bdd20403a",
      "path": "/fixed",
      "kind": "preflight",
      "modes": [
        1,
        2,
        3
      ],
      "limit": 262144,
      "headers": [
        {
          "name": "server",
          "value": "BaseHTTP/0.6 Python/3.12.3"
        },
        {
          "name": "date",
          "value": "Wed, 09 Sep 2026 17:41:40 GMT"
        },
        {
          "name": "content-type",
          "value": "text/plain"
        },
        {
          "name": "x-origin",
          "value": "fixture"
        },
        {
          "name": "etag",
          "value": "\"original\""
        }
      ],
      "config": {
        "body": "skip_remaining",
        "mode": 2.0
      }
    },
    {
      "time": 1788975700.911652,
      "service": "fixture-1",
      "request_id": "0ea20e31-6b86-4ceb-a184-d59bdd20403a",
      "path": "/fixed",
      "kind": "body",
      "seq": 1,
      "final": true,
      "length": 19,
      "sample": "alpha secret omega\n",
      "sha256": "5db0d32646959fa18ff5f7ba0ebeb4b2eb21a38e8e66465c0ba6f0ec1c28355f"
    }
  ]
}
Whole200curl 0
PASS
single-2-invalid_sequence-fail_open
{
  "path": "/fixed",
  "stages": [
    {
      "mode": 2,
      "body": "invalid_sequence",
      "on_error": "fail_open"
    }
  ],
  "checks": {
    "status": true,
    "curl_code": true,
    "body": true
  },
  "response": {
    "status": 200,
    "curl_code": 0,
    "headers": "HTTP/1.1 200 OK\nserver: BaseHTTP/0.6 Python/3.12.3\ndate: Wed, 09 Sep 2026 17:41:42 GMT\ncontent-type: text/plain\nx-origin: fixture\netag: \"original\"\nContent-Length: 19\n\n",
    "bytes": 19,
    "sample": "alpha secret omega\n"
  },
  "middleware_events": [
    {
      "time": 1788975702.052136,
      "service": "fixture-1",
      "request_id": "69105464-2859-4517-bb1f-891a1c95e051",
      "path": "/fixed",
      "kind": "preflight",
      "modes": [
        1,
        2,
        3
      ],
      "limit": 262144,
      "headers": [
        {
          "name": "server",
          "value": "BaseHTTP/0.6 Python/3.12.3"
        },
        {
          "name": "date",
          "value": "Wed, 09 Sep 2026 17:41:42 GMT"
        },
        {
          "name": "content-type",
          "value": "text/plain"
        },
        {
          "name": "x-origin",
          "value": "fixture"
        },
        {
          "name": "etag",
          "value": "\"original\""
        }
      ],
      "config": {
        "body": "invalid_sequence",
        "mode": 2.0
      }
    },
    {
      "time": 1788975702.0530815,
      "service": "fixture-1",
      "request_id": "69105464-2859-4517-bb1f-891a1c95e051",
      "path": "/fixed",
      "kind": "body",
      "seq": 1,
      "final": true,
      "length": 19,
      "sample": "alpha secret omega\n",
      "sha256": "5db0d32646959fa18ff5f7ba0ebeb4b2eb21a38e8e66465c0ba6f0ec1c28355f"
    }
  ]
}
Whole200curl 0
PASS
single-2-invalid_sequence-fail_closed
{
  "path": "/fixed",
  "stages": [
    {
      "mode": 2,
      "body": "invalid_sequence",
      "on_error": "fail_closed"
    }
  ],
  "checks": {
    "status": true,
    "curl_code": true,
    "canonical_error": true
  },
  "response": {
    "status": 502,
    "curl_code": 0,
    "headers": "HTTP/1.1 502 Bad Gateway\nContent-Type: application/json\nContent-Length: 309\nX-OpenShell-Policy: upstream\nConnection: close\n\n",
    "bytes": 309,
    "sample": "{\"detail\":\"The upstream request may have completed, but OpenShell could not deliver its response. Retrying may repeat upstream side effects.\",\"error\":"
  },
  "middleware_events": [
    {
      "time": 1788975703.1822941,
      "service": "fixture-1",
      "request_id": "75125f2c-664d-4e4f-bd2a-800983caf0b2",
      "path": "/fixed",
      "kind": "preflight",
      "modes": [
        1,
        2,
        3
      ],
      "limit": 262144,
      "headers": [
        {
          "name": "server",
          "value": "BaseHTTP/0.6 Python/3.12.3"
        },
        {
          "name": "date",
          "value": "Wed, 09 Sep 2026 17:41:43 GMT"
        },
        {
          "name": "content-type",
          "value": "text/plain"
        },
        {
          "name": "x-origin",
          "value": "fixture"
        },
        {
          "name": "etag",
          "value": "\"original\""
        }
      ],
      "config": {
        "body": "invalid_sequence",
        "mode": 2.0
      }
    },
    {
      "time": 1788975703.182989,
      "service": "fixture-1",
      "request_id": "75125f2c-664d-4e4f-bd2a-800983caf0b2",
      "path": "/fixed",
      "kind": "body",
      "seq": 1,
      "final": true,
      "length": 19,
      "sample": "alpha secret omega\n",
      "sha256": "5db0d32646959fa18ff5f7ba0ebeb4b2eb21a38e8e66465c0ba6f0ec1c28355f"
    }
  ]
}
Whole502curl 0
PASS
single-2-timeout-fail_open
{
  "path": "/fixed",
  "stages": [
    {
      "mode": 2,
      "body": "timeout",
      "on_error": "fail_open"
    }
  ],
  "checks": {
    "status": true,
    "curl_code": true,
    "body": true
  },
  "response": {
    "status": 200,
    "curl_code": 0,
    "headers": "HTTP/1.1 200 OK\nserver: BaseHTTP/0.6 Python/3.12.3\ndate: Wed, 09 Sep 2026 17:41:44 GMT\ncontent-type: text/plain\nx-origin: fixture\netag: \"original\"\nContent-Length: 19\n\n",
    "bytes": 19,
    "sample": "alpha secret omega\n"
  },
  "middleware_events": [
    {
      "time": 1788975704.3049386,
      "service": "fixture-1",
      "request_id": "a7def896-4fe6-4ed0-aa81-413280495561",
      "path": "/fixed",
      "kind": "preflight",
      "modes": [
        1,
        2,
        3
      ],
      "limit": 262144,
      "headers": [
        {
          "name": "server",
          "value": "BaseHTTP/0.6 Python/3.12.3"
        },
        {
          "name": "date",
          "value": "Wed, 09 Sep 2026 17:41:44 GMT"
        },
        {
          "name": "content-type",
          "value": "text/plain"
        },
        {
          "name": "x-origin",
          "value": "fixture"
        },
        {
          "name": "etag",
          "value": "\"original\""
        }
      ],
      "config": {
        "body": "timeout",
        "mode": 2.0
      }
    },
    {
      "time": 1788975704.3056645,
      "service": "fixture-1",
      "request_id": "a7def896-4fe6-4ed0-aa81-413280495561",
      "path": "/fixed",
      "kind": "body",
      "seq": 1,
      "final": true,
      "length": 19,
      "sample": "alpha secret omega\n",
      "sha256": "5db0d32646959fa18ff5f7ba0ebeb4b2eb21a38e8e66465c0ba6f0ec1c28355f"
    }
  ]
}
Whole200curl 0
PASS
single-2-timeout-fail_closed
{
  "path": "/fixed",
  "stages": [
    {
      "mode": 2,
      "body": "timeout",
      "on_error": "fail_closed"
    }
  ],
  "checks": {
    "status": true,
    "curl_code": true,
    "canonical_error": true
  },
  "response": {
    "status": 502,
    "curl_code": 0,
    "headers": "HTTP/1.1 502 Bad Gateway\nContent-Type: application/json\nContent-Length: 309\nX-OpenShell-Policy: upstream\nConnection: close\n\n",
    "bytes": 309,
    "sample": "{\"detail\":\"The upstream request may have completed, but OpenShell could not deliver its response. Retrying may repeat upstream side effects.\",\"error\":"
  },
  "middleware_events": [
    {
      "time": 1788975705.5758376,
      "service": "fixture-1",
      "request_id": "a59b6e7e-e440-4507-bd21-f9bc370db1b6",
      "path": "/fixed",
      "kind": "preflight",
      "modes": [
        1,
        2,
        3
      ],
      "limit": 262144,
      "headers": [
        {
          "name": "server",
          "value": "BaseHTTP/0.6 Python/3.12.3"
        },
        {
          "name": "date",
          "value": "Wed, 09 Sep 2026 17:41:45 GMT"
        },
        {
          "name": "content-type",
          "value": "text/plain"
        },
        {
          "name": "x-origin",
          "value": "fixture"
        },
        {
          "name": "etag",
          "value": "\"original\""
        }
      ],
      "config": {
        "body": "timeout",
        "mode": 2.0
      }
    },
    {
      "time": 1788975705.5768445,
      "service": "fixture-1",
      "request_id": "a59b6e7e-e440-4507-bd21-f9bc370db1b6",
      "path": "/fixed",
      "kind": "body",
      "seq": 1,
      "final": true,
      "length": 19,
      "sample": "alpha secret omega\n",
      "sha256": "5db0d32646959fa18ff5f7ba0ebeb4b2eb21a38e8e66465c0ba6f0ec1c28355f"
    }
  ]
}
Whole502curl 0
PASS
single-2-abort-fail_open
{
  "path": "/fixed",
  "stages": [
    {
      "mode": 2,
      "body": "abort",
      "on_error": "fail_open"
    }
  ],
  "checks": {
    "status": true,
    "curl_code": true,
    "body": true
  },
  "response": {
    "status": 200,
    "curl_code": 0,
    "headers": "HTTP/1.1 200 OK\nserver: BaseHTTP/0.6 Python/3.12.3\ndate: Wed, 09 Sep 2026 17:41:46 GMT\ncontent-type: text/plain\nx-origin: fixture\netag: \"original\"\nContent-Length: 19\n\n",
    "bytes": 19,
    "sample": "alpha secret omega\n"
  },
  "middleware_events": [
    {
      "time": 1788975706.8469763,
      "service": "fixture-1",
      "request_id": "af828d64-d8d0-4938-882a-e6b6b44df505",
      "path": "/fixed",
      "kind": "preflight",
      "modes": [
        1,
        2,
        3
      ],
      "limit": 262144,
      "headers": [
        {
          "name": "server",
          "value": "BaseHTTP/0.6 Python/3.12.3"
        },
        {
          "name": "date",
          "value": "Wed, 09 Sep 2026 17:41:46 GMT"
        },
        {
          "name": "content-type",
          "value": "text/plain"
        },
        {
          "name": "x-origin",
          "value": "fixture"
        },
        {
          "name": "etag",
          "value": "\"original\""
        }
      ],
      "config": {
        "body": "abort",
        "mode": 2.0
      }
    },
    {
      "time": 1788975706.8477273,
      "service": "fixture-1",
      "request_id": "af828d64-d8d0-4938-882a-e6b6b44df505",
      "path": "/fixed",
      "kind": "body",
      "seq": 1,
      "final": true,
      "length": 19,
      "sample": "alpha secret omega\n",
      "sha256": "5db0d32646959fa18ff5f7ba0ebeb4b2eb21a38e8e66465c0ba6f0ec1c28355f"
    }
  ]
}
Whole200curl 0
PASS
single-2-abort-fail_closed
{
  "path": "/fixed",
  "stages": [
    {
      "mode": 2,
      "body": "abort",
      "on_error": "fail_closed"
    }
  ],
  "checks": {
    "status": true,
    "curl_code": true,
    "canonical_error": true
  },
  "response": {
    "status": 502,
    "curl_code": 0,
    "headers": "HTTP/1.1 502 Bad Gateway\nContent-Type: application/json\nContent-Length: 309\nX-OpenShell-Policy: upstream\nConnection: close\n\n",
    "bytes": 309,
    "sample": "{\"detail\":\"The upstream request may have completed, but OpenShell could not deliver its response. Retrying may repeat upstream side effects.\",\"error\":"
  },
  "middleware_events": [
    {
      "time": 1788975707.986925,
      "service": "fixture-1",
      "request_id": "129097ee-3790-465c-b7d7-d6b717ef96f3",
      "path": "/fixed",
      "kind": "preflight",
      "modes": [
        1,
        2,
        3
      ],
      "limit": 262144,
      "headers": [
        {
          "name": "server",
          "value": "BaseHTTP/0.6 Python/3.12.3"
        },
        {
          "name": "date",
          "value": "Wed, 09 Sep 2026 17:41:47 GMT"
        },
        {
          "name": "content-type",
          "value": "text/plain"
        },
        {
          "name": "x-origin",
          "value": "fixture"
        },
        {
          "name": "etag",
          "value": "\"original\""
        }
      ],
      "config": {
        "body": "abort",
        "mode": 2.0
      }
    },
    {
      "time": 1788975707.987453,
      "service": "fixture-1",
      "request_id": "129097ee-3790-465c-b7d7-d6b717ef96f3",
      "path": "/fixed",
      "kind": "body",
      "seq": 1,
      "final": true,
      "length": 19,
      "sample": "alpha secret omega\n",
      "sha256": "5db0d32646959fa18ff5f7ba0ebeb4b2eb21a38e8e66465c0ba6f0ec1c28355f"
    }
  ]
}
Whole502curl 0
PASS
single-3-transform
{
  "path": "/fixed",
  "stages": [
    {
      "mode": 3,
      "body": "transform"
    }
  ],
  "checks": {
    "status": true,
    "curl_code": true,
    "body": true,
    "absent_header": true
  },
  "response": {
    "status": 200,
    "curl_code": 0,
    "headers": "HTTP/1.1 200 OK\nserver: BaseHTTP/0.6 Python/3.12.3\ndate: Wed, 09 Sep 2026 17:41:49 GMT\ncontent-type: text/plain\nx-origin: fixture\nTransfer-Encoding: chunked\n\n",
    "bytes": 23,
    "sample": "alpha [REDACTED] omega\n"
  },
  "middleware_events": [
    {
      "time": 1788975709.1224868,
      "service": "fixture-1",
      "request_id": "2b576c22-3e8a-410b-8648-ae183b4ea6b1",
      "path": "/fixed",
      "kind": "preflight",
      "modes": [
        1,
        2,
        3
      ],
      "limit": 262144,
      "headers": [
        {
          "name": "server",
          "value": "BaseHTTP/0.6 Python/3.12.3"
        },
        {
          "name": "date",
          "value": "Wed, 09 Sep 2026 17:41:49 GMT"
        },
        {
          "name": "content-type",
          "value": "text/plain"
        },
        {
          "name": "x-origin",
          "value": "fixture"
        },
        {
          "name": "etag",
          "value": "\"original\""
        }
      ],
      "config": {
        "body": "transform",
        "mode": 3.0
      }
    },
    {
      "time": 1788975709.123147,
      "service": "fixture-1",
      "request_id": "2b576c22-3e8a-410b-8648-ae183b4ea6b1",
      "path": "/fixed",
      "kind": "body",
      "seq": 1,
      "final": false,
      "length": 19,
      "sample": "alpha secret omega\n",
      "sha256": "5db0d32646959fa18ff5f7ba0ebeb4b2eb21a38e8e66465c0ba6f0ec1c28355f"
    },
    {
      "time": 1788975709.123755,
      "service": "fixture-1",
      "request_id": "2b576c22-3e8a-410b-8648-ae183b4ea6b1",
      "path": "/fixed",
      "kind": "body",
      "seq": 2,
      "final": true,
      "length": 0,
      "sample": "",
      "sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
    },
    {
      "time": 1788975709.1242402,
      "service": "fixture-1",
      "request_id": "2b576c22-3e8a-410b-8648-ae183b4ea6b1",
      "path": "/fixed",
      "kind": "trailers",
      "trailers": {}
    }
  ]
}
Stream200curl 0
PASS
single-3-delete
{
  "path": "/fixed",
  "stages": [
    {
      "mode": 3,
      "body": "transform",
      "delete": true
    }
  ],
  "checks": {
    "status": true,
    "curl_code": true,
    "body": true
  },
  "response": {
    "status": 200,
    "curl_code": 0,
    "headers": "HTTP/1.1 200 OK\nserver: BaseHTTP/0.6 Python/3.12.3\ndate: Wed, 09 Sep 2026 17:41:50 GMT\ncontent-type: text/plain\nx-origin: fixture\nTransfer-Encoding: chunked\n\n",
    "bytes": 0,
    "sample": ""
  },
  "middleware_events": [
    {
      "time": 1788975710.2670157,
      "service": "fixture-1",
      "request_id": "cffa6dde-57ba-40c3-9b4d-0790cc08f167",
      "path": "/fixed",
      "kind": "preflight",
      "modes": [
        1,
        2,
        3
      ],
      "limit": 262144,
      "headers": [
        {
          "name": "server",
          "value": "BaseHTTP/0.6 Python/3.12.3"
        },
        {
          "name": "date",
          "value": "Wed, 09 Sep 2026 17:41:50 GMT"
        },
        {
          "name": "content-type",
          "value": "text/plain"
        },
        {
          "name": "x-origin",
          "value": "fixture"
        },
        {
          "name": "etag",
          "value": "\"original\""
        }
      ],
      "config": {
        "body": "transform",
        "mode": 3.0,
        "delete": true
      }
    },
    {
      "time": 1788975710.2678065,
      "service": "fixture-1",
      "request_id": "cffa6dde-57ba-40c3-9b4d-0790cc08f167",
      "path": "/fixed",
      "kind": "body",
      "seq": 1,
      "final": false,
      "length": 19,
      "sample": "alpha secret omega\n",
      "sha256": "5db0d32646959fa18ff5f7ba0ebeb4b2eb21a38e8e66465c0ba6f0ec1c28355f"
    },
    {
      "time": 1788975710.268548,
      "service": "fixture-1",
      "request_id": "cffa6dde-57ba-40c3-9b4d-0790cc08f167",
      "path": "/fixed",
      "kind": "body",
      "seq": 2,
      "final": true,
      "length": 0,
      "sample": "",
      "sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
    },
    {
      "time": 1788975710.2691414,
      "service": "fixture-1",
      "request_id": "cffa6dde-57ba-40c3-9b4d-0790cc08f167",
      "path": "/fixed",
      "kind": "trailers",
      "trailers": {}
    }
  ]
}
Stream200curl 0
PASS
single-3-body-block
{
  "path": "/fixed",
  "stages": [
    {
      "mode": 3,
      "body": "block_delivery"
    }
  ],
  "checks": {
    "status": true,
    "curl_code": true,
    "body": true
  },
  "response": {
    "status": 200,
    "curl_code": 18,
    "headers": "HTTP/1.1 200 OK\nserver: BaseHTTP/0.6 Python/3.12.3\ndate: Wed, 09 Sep 2026 17:41:51 GMT\ncontent-type: text/plain\nx-origin: fixture\nTransfer-Encoding: chunked\n\n",
    "bytes": 0,
    "sample": ""
  },
  "middleware_events": [
    {
      "time": 1788975711.4143908,
      "service": "fixture-1",
      "request_id": "07ab485a-94b2-4d7a-b8bc-3d388dfabb42",
      "path": "/fixed",
      "kind": "preflight",
      "modes": [
        1,
        2,
        3
      ],
      "limit": 262144,
      "headers": [
        {
          "name": "server",
          "value": "BaseHTTP/0.6 Python/3.12.3"
        },
        {
          "name": "date",
          "value": "Wed, 09 Sep 2026 17:41:51 GMT"
        },
        {
          "name": "content-type",
          "value": "text/plain"
        },
        {
          "name": "x-origin",
          "value": "fixture"
        },
        {
          "name": "etag",
          "value": "\"original\""
        }
      ],
      "config": {
        "body": "block_delivery",
        "mode": 3.0
      }
    },
    {
      "time": 1788975711.4152021,
      "service": "fixture-1",
      "request_id": "07ab485a-94b2-4d7a-b8bc-3d388dfabb42",
      "path": "/fixed",
      "kind": "body",
      "seq": 1,
      "final": false,
      "length": 19,
      "sample": "alpha secret omega\n",
      "sha256": "5db0d32646959fa18ff5f7ba0ebeb4b2eb21a38e8e66465c0ba6f0ec1c28355f"
    }
  ]
}
Stream200curl 18
PASS
single-3-skip-remaining
{
  "path": "/fixed",
  "stages": [
    {
      "mode": 3,
      "body": "skip_remaining"
    }
  ],
  "checks": {
    "status": true,
    "curl_code": true,
    "body": true
  },
  "response": {
    "status": 200,
    "curl_code": 0,
    "headers": "HTTP/1.1 200 OK\nserver: BaseHTTP/0.6 Python/3.12.3\ndate: Wed, 09 Sep 2026 17:41:52 GMT\ncontent-type: text/plain\nx-origin: fixture\nTransfer-Encoding: chunked\n\n",
    "bytes": 19,
    "sample": "alpha secret omega\n"
  },
  "middleware_events": [
    {
      "time": 1788975712.5657897,
      "service": "fixture-1",
      "request_id": "e070b04f-1c56-434f-9802-764c23a61ea7",
      "path": "/fixed",
      "kind": "preflight",
      "modes": [
        1,
        2,
        3
      ],
      "limit": 262144,
      "headers": [
        {
          "name": "server",
          "value": "BaseHTTP/0.6 Python/3.12.3"
        },
        {
          "name": "date",
          "value": "Wed, 09 Sep 2026 17:41:52 GMT"
        },
        {
          "name": "content-type",
          "value": "text/plain"
        },
        {
          "name": "x-origin",
          "value": "fixture"
        },
        {
          "name": "etag",
          "value": "\"original\""
        }
      ],
      "config": {
        "body": "skip_remaining",
        "mode": 3.0
      }
    },
    {
      "time": 1788975712.5664606,
      "service": "fixture-1",
      "request_id": "e070b04f-1c56-434f-9802-764c23a61ea7",
      "path": "/fixed",
      "kind": "body",
      "seq": 1,
      "final": false,
      "length": 19,
      "sample": "alpha secret omega\n",
      "sha256": "5db0d32646959fa18ff5f7ba0ebeb4b2eb21a38e8e66465c0ba6f0ec1c28355f"
    }
  ]
}
Stream200curl 0
PASS
single-3-invalid_sequence-fail_open
{
  "path": "/fixed",
  "stages": [
    {
      "mode": 3,
      "body": "invalid_sequence",
      "on_error": "fail_open"
    }
  ],
  "checks": {
    "status": true,
    "curl_code": true,
    "body": true
  },
  "response": {
    "status": 200,
    "curl_code": 0,
    "headers": "HTTP/1.1 200 OK\nserver: BaseHTTP/0.6 Python/3.12.3\ndate: Wed, 09 Sep 2026 17:41:53 GMT\ncontent-type: text/plain\nx-origin: fixture\nTransfer-Encoding: chunked\n\n",
    "bytes": 19,
    "sample": "alpha secret omega\n"
  },
  "middleware_events": [
    {
      "time": 1788975713.703655,
      "service": "fixture-1",
      "request_id": "541fae8f-4cce-451a-8c23-cd61cc7bbfa8",
      "path": "/fixed",
      "kind": "preflight",
      "modes": [
        1,
        2,
        3
      ],
      "limit": 262144,
      "headers": [
        {
          "name": "server",
          "value": "BaseHTTP/0.6 Python/3.12.3"
        },
        {
          "name": "date",
          "value": "Wed, 09 Sep 2026 17:41:53 GMT"
        },
        {
          "name": "content-type",
          "value": "text/plain"
        },
        {
          "name": "x-origin",
          "value": "fixture"
        },
        {
          "name": "etag",
          "value": "\"original\""
        }
      ],
      "config": {
        "body": "invalid_sequence",
        "mode": 3.0
      }
    },
    {
      "time": 1788975713.704368,
      "service": "fixture-1",
      "request_id": "541fae8f-4cce-451a-8c23-cd61cc7bbfa8",
      "path": "/fixed",
      "kind": "body",
      "seq": 1,
      "final": false,
      "length": 19,
      "sample": "alpha secret omega\n",
      "sha256": "5db0d32646959fa18ff5f7ba0ebeb4b2eb21a38e8e66465c0ba6f0ec1c28355f"
    }
  ]
}
Stream200curl 0
PASS
single-3-invalid_sequence-fail_closed
{
  "path": "/fixed",
  "stages": [
    {
      "mode": 3,
      "body": "invalid_sequence",
      "on_error": "fail_closed"
    }
  ],
  "checks": {
    "status": true,
    "curl_code": true,
    "body": true
  },
  "response": {
    "status": 200,
    "curl_code": 18,
    "headers": "HTTP/1.1 200 OK\nserver: BaseHTTP/0.6 Python/3.12.3\ndate: Wed, 09 Sep 2026 17:41:54 GMT\ncontent-type: text/plain\nx-origin: fixture\nTransfer-Encoding: chunked\n\n",
    "bytes": 0,
    "sample": ""
  },
  "middleware_events": [
    {
      "time": 1788975714.8368006,
      "service": "fixture-1",
      "request_id": "a334ec58-d487-454e-a364-54a87856a657",
      "path": "/fixed",
      "kind": "preflight",
      "modes": [
        1,
        2,
        3
      ],
      "limit": 262144,
      "headers": [
        {
          "name": "server",
          "value": "BaseHTTP/0.6 Python/3.12.3"
        },
        {
          "name": "date",
          "value": "Wed, 09 Sep 2026 17:41:54 GMT"
        },
        {
          "name": "content-type",
          "value": "text/plain"
        },
        {
          "name": "x-origin",
          "value": "fixture"
        },
        {
          "name": "etag",
          "value": "\"original\""
        }
      ],
      "config": {
        "body": "invalid_sequence",
        "mode": 3.0
      }
    },
    {
      "time": 1788975714.8376868,
      "service": "fixture-1",
      "request_id": "a334ec58-d487-454e-a364-54a87856a657",
      "path": "/fixed",
      "kind": "body",
      "seq": 1,
      "final": false,
      "length": 19,
      "sample": "alpha secret omega\n",
      "sha256": "5db0d32646959fa18ff5f7ba0ebeb4b2eb21a38e8e66465c0ba6f0ec1c28355f"
    }
  ]
}
Stream200curl 18
PASS
single-3-timeout-fail_open
{
  "path": "/fixed",
  "stages": [
    {
      "mode": 3,
      "body": "timeout",
      "on_error": "fail_open"
    }
  ],
  "checks": {
    "status": true,
    "curl_code": true,
    "body": true
  },
  "response": {
    "status": 200,
    "curl_code": 0,
    "headers": "HTTP/1.1 200 OK\nserver: BaseHTTP/0.6 Python/3.12.3\ndate: Wed, 09 Sep 2026 17:41:55 GMT\ncontent-type: text/plain\nx-origin: fixture\nTransfer-Encoding: chunked\n\n",
    "bytes": 19,
    "sample": "alpha secret omega\n"
  },
  "middleware_events": [
    {
      "time": 1788975715.9783764,
      "service": "fixture-1",
      "request_id": "ee0dfb0f-752a-40b0-9720-7769968e2a74",
      "path": "/fixed",
      "kind": "preflight",
      "modes": [
        1,
        2,
        3
      ],
      "limit": 262144,
      "headers": [
        {
          "name": "server",
          "value": "BaseHTTP/0.6 Python/3.12.3"
        },
        {
          "name": "date",
          "value": "Wed, 09 Sep 2026 17:41:55 GMT"
        },
        {
          "name": "content-type",
          "value": "text/plain"
        },
        {
          "name": "x-origin",
          "value": "fixture"
        },
        {
          "name": "etag",
          "value": "\"original\""
        }
      ],
      "config": {
        "body": "timeout",
        "mode": 3.0
      }
    },
    {
      "time": 1788975715.9790537,
      "service": "fixture-1",
      "request_id": "ee0dfb0f-752a-40b0-9720-7769968e2a74",
      "path": "/fixed",
      "kind": "body",
      "seq": 1,
      "final": false,
      "length": 19,
      "sample": "alpha secret omega\n",
      "sha256": "5db0d32646959fa18ff5f7ba0ebeb4b2eb21a38e8e66465c0ba6f0ec1c28355f"
    }
  ]
}
Stream200curl 0
PASS
single-3-timeout-fail_closed
{
  "path": "/fixed",
  "stages": [
    {
      "mode": 3,
      "body": "timeout",
      "on_error": "fail_closed"
    }
  ],
  "checks": {
    "status": true,
    "curl_code": true,
    "body": true
  },
  "response": {
    "status": 200,
    "curl_code": 18,
    "headers": "HTTP/1.1 200 OK\nserver: BaseHTTP/0.6 Python/3.12.3\ndate: Wed, 09 Sep 2026 17:41:57 GMT\ncontent-type: text/plain\nx-origin: fixture\nTransfer-Encoding: chunked\n\n",
    "bytes": 0,
    "sample": ""
  },
  "middleware_events": [
    {
      "time": 1788975717.2773926,
      "service": "fixture-1",
      "request_id": "290a979e-0734-416e-a660-2bd64707a32e",
      "path": "/fixed",
      "kind": "preflight",
      "modes": [
        1,
        2,
        3
      ],
      "limit": 262144,
      "headers": [
        {
          "name": "server",
          "value": "BaseHTTP/0.6 Python/3.12.3"
        },
        {
          "name": "date",
          "value": "Wed, 09 Sep 2026 17:41:57 GMT"
        },
        {
          "name": "content-type",
          "value": "text/plain"
        },
        {
          "name": "x-origin",
          "value": "fixture"
        },
        {
          "name": "etag",
          "value": "\"original\""
        }
      ],
      "config": {
        "body": "timeout",
        "mode": 3.0
      }
    },
    {
      "time": 1788975717.2779324,
      "service": "fixture-1",
      "request_id": "290a979e-0734-416e-a660-2bd64707a32e",
      "path": "/fixed",
      "kind": "body",
      "seq": 1,
      "final": false,
      "length": 19,
      "sample": "alpha secret omega\n",
      "sha256": "5db0d32646959fa18ff5f7ba0ebeb4b2eb21a38e8e66465c0ba6f0ec1c28355f"
    }
  ]
}
Stream200curl 18
PASS
single-3-abort-fail_open
{
  "path": "/fixed",
  "stages": [
    {
      "mode": 3,
      "body": "abort",
      "on_error": "fail_open"
    }
  ],
  "checks": {
    "status": true,
    "curl_code": true,
    "body": true
  },
  "response": {
    "status": 200,
    "curl_code": 0,
    "headers": "HTTP/1.1 200 OK\nserver: BaseHTTP/0.6 Python/3.12.3\ndate: Wed, 09 Sep 2026 17:41:58 GMT\ncontent-type: text/plain\nx-origin: fixture\nTransfer-Encoding: chunked\n\n",
    "bytes": 19,
    "sample": "alpha secret omega\n"
  },
  "middleware_events": [
    {
      "time": 1788975718.561595,
      "service": "fixture-1",
      "request_id": "9fb03093-3cbc-4c35-bb11-8935371edf86",
      "path": "/fixed",
      "kind": "preflight",
      "modes": [
        1,
        2,
        3
      ],
      "limit": 262144,
      "headers": [
        {
          "name": "server",
          "value": "BaseHTTP/0.6 Python/3.12.3"
        },
        {
          "name": "date",
          "value": "Wed, 09 Sep 2026 17:41:58 GMT"
        },
        {
          "name": "content-type",
          "value": "text/plain"
        },
        {
          "name": "x-origin",
          "value": "fixture"
        },
        {
          "name": "etag",
          "value": "\"original\""
        }
      ],
      "config": {
        "body": "abort",
        "mode": 3.0
      }
    },
    {
      "time": 1788975718.5620806,
      "service": "fixture-1",
      "request_id": "9fb03093-3cbc-4c35-bb11-8935371edf86",
      "path": "/fixed",
      "kind": "body",
      "seq": 1,
      "final": false,
      "length": 19,
      "sample": "alpha secret omega\n",
      "sha256": "5db0d32646959fa18ff5f7ba0ebeb4b2eb21a38e8e66465c0ba6f0ec1c28355f"
    }
  ]
}
Stream200curl 0
PASS
single-3-abort-fail_closed
{
  "path": "/fixed",
  "stages": [
    {
      "mode": 3,
      "body": "abort",
      "on_error": "fail_closed"
    }
  ],
  "checks": {
    "status": true,
    "curl_code": true,
    "body": true
  },
  "response": {
    "status": 200,
    "curl_code": 18,
    "headers": "HTTP/1.1 200 OK\nserver: BaseHTTP/0.6 Python/3.12.3\ndate: Wed, 09 Sep 2026 17:41:59 GMT\ncontent-type: text/plain\nx-origin: fixture\nTransfer-Encoding: chunked\n\n",
    "bytes": 0,
    "sample": ""
  },
  "middleware_events": [
    {
      "time": 1788975719.7018836,
      "service": "fixture-1",
      "request_id": "9160ac7a-2de7-42b2-ad0b-c41f62c600e4",
      "path": "/fixed",
      "kind": "preflight",
      "modes": [
        1,
        2,
        3
      ],
      "limit": 262144,
      "headers": [
        {
          "name": "server",
          "value": "BaseHTTP/0.6 Python/3.12.3"
        },
        {
          "name": "date",
          "value": "Wed, 09 Sep 2026 17:41:59 GMT"
        },
        {
          "name": "content-type",
          "value": "text/plain"
        },
        {
          "name": "x-origin",
          "value": "fixture"
        },
        {
          "name": "etag",
          "value": "\"original\""
        }
      ],
      "config": {
        "body": "abort",
        "mode": 3.0
      }
    },
    {
      "time": 1788975719.7026522,
      "service": "fixture-1",
      "request_id": "9160ac7a-2de7-42b2-ad0b-c41f62c600e4",
      "path": "/fixed",
      "kind": "body",
      "seq": 1,
      "final": false,
      "length": 19,
      "sample": "alpha secret omega\n",
      "sha256": "5db0d32646959fa18ff5f7ba0ebeb4b2eb21a38e8e66465c0ba6f0ec1c28355f"
    }
  ]
}
Stream200curl 18
PASS
preflight-timeout-fail_open
{
  "path": "/fixed",
  "stages": [
    {
      "preflight": "timeout",
      "on_error": "fail_open"
    }
  ],
  "checks": {
    "status": true,
    "curl_code": true,
    "body": true
  },
  "response": {
    "status": 200,
    "curl_code": 0,
    "headers": "HTTP/1.1 200 OK\nServer: BaseHTTP/0.6 Python/3.12.3\nDate: Wed, 09 Sep 2026 17:42:00 GMT\nContent-Type: text/plain\nX-Origin: fixture\nETag: \"original\"\nContent-Length: 19\n\n",
    "bytes": 19,
    "sample": "alpha secret omega\n"
  },
  "middleware_events": [
    {
      "time": 1788975720.836064,
      "service": "fixture-1",
      "request_id": "c39c61f2-49f0-4b40-830f-ab5a77b17e37",
      "path": "/fixed",
      "kind": "preflight",
      "modes": [
        1,
        2,
        3
      ],
      "limit": 262144,
      "headers": [
        {
          "name": "server",
          "value": "BaseHTTP/0.6 Python/3.12.3"
        },
        {
          "name": "date",
          "value": "Wed, 09 Sep 2026 17:42:00 GMT"
        },
        {
          "name": "content-type",
          "value": "text/plain"
        },
        {
          "name": "x-origin",
          "value": "fixture"
        },
        {
          "name": "etag",
          "value": "\"original\""
        }
      ],
      "config": {
        "preflight": "timeout"
      }
    }
  ]
}
Headers200curl 0
PASS
preflight-abort-fail_open
{
  "path": "/fixed",
  "stages": [
    {
      "preflight": "abort",
      "on_error": "fail_open"
    }
  ],
  "checks": {
    "status": true,
    "curl_code": true,
    "body": true
  },
  "response": {
    "status": 200,
    "curl_code": 0,
    "headers": "HTTP/1.1 200 OK\nServer: BaseHTTP/0.6 Python/3.12.3\nDate: Wed, 09 Sep 2026 17:42:02 GMT\nContent-Type: text/plain\nX-Origin: fixture\nETag: \"original\"\nContent-Length: 19\n\n",
    "bytes": 19,
    "sample": "alpha secret omega\n"
  },
  "middleware_events": [
    {
      "time": 1788975722.1403482,
      "service": "fixture-1",
      "request_id": "e604d812-d674-48e9-a8e1-ef6f15b7c565",
      "path": "/fixed",
      "kind": "preflight",
      "modes": [
        1,
        2,
        3
      ],
      "limit": 262144,
      "headers": [
        {
          "name": "server",
          "value": "BaseHTTP/0.6 Python/3.12.3"
        },
        {
          "name": "date",
          "value": "Wed, 09 Sep 2026 17:42:02 GMT"
        },
        {
          "name": "content-type",
          "value": "text/plain"
        },
        {
          "name": "x-origin",
          "value": "fixture"
        },
        {
          "name": "etag",
          "value": "\"original\""
        }
      ],
      "config": {
        "preflight": "abort"
      }
    }
  ]
}
Headers200curl 0
PASS
preflight-invalid-mode-fail_open
{
  "path": "/fixed",
  "stages": [
    {
      "mode": 99,
      "on_error": "fail_open"
    }
  ],
  "checks": {
    "status": true,
    "curl_code": true,
    "body": true
  },
  "response": {
    "status": 200,
    "curl_code": 0,
    "headers": "HTTP/1.1 200 OK\nServer: BaseHTTP/0.6 Python/3.12.3\nDate: Wed, 09 Sep 2026 17:42:03 GMT\nContent-Type: text/plain\nX-Origin: fixture\nETag: \"original\"\nContent-Length: 19\n\n",
    "bytes": 19,
    "sample": "alpha secret omega\n"
  },
  "middleware_events": [
    {
      "time": 1788975723.2679718,
      "service": "fixture-1",
      "request_id": "4d822f79-6c4e-427f-9c46-744a9c491bf1",
      "path": "/fixed",
      "kind": "preflight",
      "modes": [
        1,
        2,
        3
      ],
      "limit": 262144,
      "headers": [
        {
          "name": "server",
          "value": "BaseHTTP/0.6 Python/3.12.3"
        },
        {
          "name": "date",
          "value": "Wed, 09 Sep 2026 17:42:03 GMT"
        },
        {
          "name": "content-type",
          "value": "text/plain"
        },
        {
          "name": "x-origin",
          "value": "fixture"
        },
        {
          "name": "etag",
          "value": "\"original\""
        }
      ],
      "config": {
        "mode": 99.0
      }
    }
  ]
}
Invalid200curl 0
PASS
protected-header-fail_open
{
  "path": "/fixed",
  "stages": [
    {
      "mode": 1,
      "header": "123",
      "header_name": "content-length",
      "on_error": "fail_open"
    }
  ],
  "checks": {
    "status": true,
    "curl_code": true,
    "body": true
  },
  "response": {
    "status": 200,
    "curl_code": 0,
    "headers": "HTTP/1.1 200 OK\nServer: BaseHTTP/0.6 Python/3.12.3\nDate: Wed, 09 Sep 2026 17:42:04 GMT\nContent-Type: text/plain\nX-Origin: fixture\nETag: \"original\"\nContent-Length: 19\n\n",
    "bytes": 19,
    "sample": "alpha secret omega\n"
  },
  "middleware_events": [
    {
      "time": 1788975724.4010715,
      "service": "fixture-1",
      "request_id": "2c706190-5e2f-4e8e-8bbd-7111d59b2173",
      "path": "/fixed",
      "kind": "preflight",
      "modes": [
        1,
        2,
        3
      ],
      "limit": 262144,
      "headers": [
        {
          "name": "server",
          "value": "BaseHTTP/0.6 Python/3.12.3"
        },
        {
          "name": "date",
          "value": "Wed, 09 Sep 2026 17:42:04 GMT"
        },
        {
          "name": "content-type",
          "value": "text/plain"
        },
        {
          "name": "x-origin",
          "value": "fixture"
        },
        {
          "name": "etag",
          "value": "\"original\""
        }
      ],
      "config": {
        "header_name": "content-length",
        "mode": 1.0,
        "header": "123"
      }
    }
  ]
}
Headers200curl 0
PASS
preflight-timeout-fail_closed
{
  "path": "/fixed",
  "stages": [
    {
      "preflight": "timeout",
      "on_error": "fail_closed"
    }
  ],
  "checks": {
    "status": true,
    "curl_code": true,
    "canonical_error": true
  },
  "response": {
    "status": 502,
    "curl_code": 0,
    "headers": "HTTP/1.1 502 Bad Gateway\nContent-Type: application/json\nContent-Length: 309\nX-OpenShell-Policy: upstream\nConnection: close\n\n",
    "bytes": 309,
    "sample": "{\"detail\":\"The upstream request may have completed, but OpenShell could not deliver its response. Retrying may repeat upstream side effects.\",\"error\":"
  },
  "middleware_events": [
    {
      "time": 1788975725.5321395,
      "service": "fixture-1",
      "request_id": "7e6eac4a-c999-47a9-8c13-5bd9080ab5a0",
      "path": "/fixed",
      "kind": "preflight",
      "modes": [
        1,
        2,
        3
      ],
      "limit": 262144,
      "headers": [
        {
          "name": "server",
          "value": "BaseHTTP/0.6 Python/3.12.3"
        },
        {
          "name": "date",
          "value": "Wed, 09 Sep 2026 17:42:05 GMT"
        },
        {
          "name": "content-type",
          "value": "text/plain"
        },
        {
          "name": "x-origin",
          "value": "fixture"
        },
        {
          "name": "etag",
          "value": "\"original\""
        }
      ],
      "config": {
        "preflight": "timeout"
      }
    }
  ]
}
Headers502curl 0
PASS
preflight-abort-fail_closed
{
  "path": "/fixed",
  "stages": [
    {
      "preflight": "abort",
      "on_error": "fail_closed"
    }
  ],
  "checks": {
    "status": true,
    "curl_code": true,
    "canonical_error": true
  },
  "response": {
    "status": 502,
    "curl_code": 0,
    "headers": "HTTP/1.1 502 Bad Gateway\nContent-Type: application/json\nContent-Length: 309\nX-OpenShell-Policy: upstream\nConnection: close\n\n",
    "bytes": 309,
    "sample": "{\"detail\":\"The upstream request may have completed, but OpenShell could not deliver its response. Retrying may repeat upstream side effects.\",\"error\":"
  },
  "middleware_events": [
    {
      "time": 1788975726.8211954,
      "service": "fixture-1",
      "request_id": "71a4753b-2c74-454a-970e-165f13056cd9",
      "path": "/fixed",
      "kind": "preflight",
      "modes": [
        1,
        2,
        3
      ],
      "limit": 262144,
      "headers": [
        {
          "name": "server",
          "value": "BaseHTTP/0.6 Python/3.12.3"
        },
        {
          "name": "date",
          "value": "Wed, 09 Sep 2026 17:42:06 GMT"
        },
        {
          "name": "content-type",
          "value": "text/plain"
        },
        {
          "name": "x-origin",
          "value": "fixture"
        },
        {
          "name": "etag",
          "value": "\"original\""
        }
      ],
      "config": {
        "preflight": "abort"
      }
    }
  ]
}
Headers502curl 0
PASS
preflight-invalid-mode-fail_closed
{
  "path": "/fixed",
  "stages": [
    {
      "mode": 99,
      "on_error": "fail_closed"
    }
  ],
  "checks": {
    "status": true,
    "curl_code": true,
    "canonical_error": true
  },
  "response": {
    "status": 502,
    "curl_code": 0,
    "headers": "HTTP/1.1 502 Bad Gateway\nContent-Type: application/json\nContent-Length: 309\nX-OpenShell-Policy: upstream\nConnection: close\n\n",
    "bytes": 309,
    "sample": "{\"detail\":\"The upstream request may have completed, but OpenShell could not deliver its response. Retrying may repeat upstream side effects.\",\"error\":"
  },
  "middleware_events": [
    {
      "time": 1788975727.9515932,
      "service": "fixture-1",
      "request_id": "5c386204-4ff8-43d7-8d5f-ca1a4b58415a",
      "path": "/fixed",
      "kind": "preflight",
      "modes": [
        1,
        2,
        3
      ],
      "limit": 262144,
      "headers": [
        {
          "name": "server",
          "value": "BaseHTTP/0.6 Python/3.12.3"
        },
        {
          "name": "date",
          "value": "Wed, 09 Sep 2026 17:42:07 GMT"
        },
        {
          "name": "content-type",
          "value": "text/plain"
        },
        {
          "name": "x-origin",
          "value": "fixture"
        },
        {
          "name": "etag",
          "value": "\"original\""
        }
      ],
      "config": {
        "mode": 99.0
      }
    }
  ]
}
Invalid502curl 0
PASS
protected-header-fail_closed
{
  "path": "/fixed",
  "stages": [
    {
      "mode": 1,
      "header": "123",
      "header_name": "content-length",
      "on_error": "fail_closed"
    }
  ],
  "checks": {
    "status": true,
    "curl_code": true,
    "canonical_error": true
  },
  "response": {
    "status": 502,
    "curl_code": 0,
    "headers": "HTTP/1.1 502 Bad Gateway\nContent-Type: application/json\nContent-Length: 309\nX-OpenShell-Policy: upstream\nConnection: close\n\n",
    "bytes": 309,
    "sample": "{\"detail\":\"The upstream request may have completed, but OpenShell could not deliver its response. Retrying may repeat upstream side effects.\",\"error\":"
  },
  "middleware_events": [
    {
      "time": 1788975729.0950854,
      "service": "fixture-1",
      "request_id": "d8b813b7-25d7-4d2c-9cac-adf047b1d5dc",
      "path": "/fixed",
      "kind": "preflight",
      "modes": [
        1,
        2,
        3
      ],
      "limit": 262144,
      "headers": [
        {
          "name": "server",
          "value": "BaseHTTP/0.6 Python/3.12.3"
        },
        {
          "name": "date",
          "value": "Wed, 09 Sep 2026 17:42:09 GMT"
        },
        {
          "name": "content-type",
          "value": "text/plain"
        },
        {
          "name": "x-origin",
          "value": "fixture"
        },
        {
          "name": "etag",
          "value": "\"original\""
        }
      ],
      "config": {
        "header_name": "content-length",
        "mode": 1.0,
        "header": "123"
      }
    }
  ]
}
Headers502curl 0
PASS
pair-1-1
{
  "path": "/fixed",
  "stages": [
    {
      "mode": 1,
      "body": "transform",
      "find": "secret",
      "replace": "TOKEN",
      "header": "0"
    },
    {
      "mode": 1,
      "body": "transform",
      "find": "TOKEN",
      "replace": "FINAL",
      "header": "1"
    }
  ],
  "checks": {
    "status": true,
    "curl_code": true,
    "body": true,
    "header": true
  },
  "response": {
    "status": 200,
    "curl_code": 0,
    "headers": "HTTP/1.1 200 OK\nserver: BaseHTTP/0.6 Python/3.12.3\ndate: Wed, 09 Sep 2026 17:42:10 GMT\ncontent-type: text/plain\nx-origin: fixture\netag: \"original\"\nx-live-test: 1\nContent-Length: 19\n\n",
    "bytes": 19,
    "sample": "alpha secret omega\n"
  },
  "middleware_events": [
    {
      "time": 1788975730.2227147,
      "service": "fixture-1",
      "request_id": "2606bb88-b8f7-4138-be55-3adb70d8e09e",
      "path": "/fixed",
      "kind": "preflight",
      "modes": [
        1,
        2,
        3
      ],
      "limit": 262144,
      "headers": [
        {
          "name": "server",
          "value": "BaseHTTP/0.6 Python/3.12.3"
        },
        {
          "name": "date",
          "value": "Wed, 09 Sep 2026 17:42:10 GMT"
        },
        {
          "name": "content-type",
          "value": "text/plain"
        },
        {
          "name": "x-origin",
          "value": "fixture"
        },
        {
          "name": "etag",
          "value": "\"original\""
        }
      ],
      "config": {
        "body": "transform",
        "replace": "TOKEN",
        "find": "secret",
        "header": "0",
        "mode": 1.0
      }
    },
    {
      "time": 1788975730.2240922,
      "service": "fixture-2",
      "request_id": "2606bb88-b8f7-4138-be55-3adb70d8e09e",
      "path": "/fixed",
      "kind": "preflight",
      "modes": [
        1,
        2,
        3
      ],
      "limit": 262144,
      "headers": [
        {
          "name": "server",
          "value": "BaseHTTP/0.6 Python/3.12.3"
        },
        {
          "name": "date",
          "value": "Wed, 09 Sep 2026 17:42:10 GMT"
        },
        {
          "name": "content-type",
          "value": "text/plain"
        },
        {
          "name": "x-origin",
          "value": "fixture"
        },
        {
          "name": "etag",
          "value": "\"original\""
        },
        {
          "name": "x-live-test",
          "value": "0"
        }
      ],
      "config": {
        "body": "transform",
        "replace": "FINAL",
        "find": "TOKEN",
        "header": "1",
        "mode": 1.0
      }
    }
  ]
}
Headers → Headers200curl 0
PASS
pair-1-2
{
  "path": "/fixed",
  "stages": [
    {
      "mode": 1,
      "body": "transform",
      "find": "secret",
      "replace": "TOKEN",
      "header": "0"
    },
    {
      "mode": 2,
      "body": "transform",
      "find": "TOKEN",
      "replace": "FINAL",
      "header": "1"
    }
  ],
  "checks": {
    "status": true,
    "curl_code": true,
    "body": true,
    "header": true
  },
  "response": {
    "status": 200,
    "curl_code": 0,
    "headers": "HTTP/1.1 200 OK\nserver: BaseHTTP/0.6 Python/3.12.3\ndate: Wed, 09 Sep 2026 17:42:11 GMT\ncontent-type: text/plain\nx-origin: fixture\nx-live-test: 1\nContent-Length: 19\n\n",
    "bytes": 19,
    "sample": "alpha secret omega\n"
  },
  "middleware_events": [
    {
      "time": 1788975731.3749583,
      "service": "fixture-1",
      "request_id": "64aab309-fa0a-4694-a536-f837118ccda4",
      "path": "/fixed",
      "kind": "preflight",
      "modes": [
        1,
        2,
        3
      ],
      "limit": 262144,
      "headers": [
        {
          "name": "server",
          "value": "BaseHTTP/0.6 Python/3.12.3"
        },
        {
          "name": "date",
          "value": "Wed, 09 Sep 2026 17:42:11 GMT"
        },
        {
          "name": "content-type",
          "value": "text/plain"
        },
        {
          "name": "x-origin",
          "value": "fixture"
        },
        {
          "name": "etag",
          "value": "\"original\""
        }
      ],
      "config": {
        "body": "transform",
        "replace": "TOKEN",
        "find": "secret",
        "header": "0",
        "mode": 1.0
      }
    },
    {
      "time": 1788975731.3757558,
      "service": "fixture-2",
      "request_id": "64aab309-fa0a-4694-a536-f837118ccda4",
      "path": "/fixed",
      "kind": "preflight",
      "modes": [
        1,
        2,
        3
      ],
      "limit": 262144,
      "headers": [
        {
          "name": "server",
          "value": "BaseHTTP/0.6 Python/3.12.3"
        },
        {
          "name": "date",
          "value": "Wed, 09 Sep 2026 17:42:11 GMT"
        },
        {
          "name": "content-type",
          "value": "text/plain"
        },
        {
          "name": "x-origin",
          "value": "fixture"
        },
        {
          "name": "etag",
          "value": "\"original\""
        },
        {
          "name": "x-live-test",
          "value": "0"
        }
      ],
      "config": {
        "body": "transform",
        "replace": "FINAL",
        "find": "TOKEN",
        "header": "1",
        "mode": 2.0
      }
    },
    {
      "time": 1788975731.3763828,
      "service": "fixture-2",
      "request_id": "64aab309-fa0a-4694-a536-f837118ccda4",
      "path": "/fixed",
      "kind": "body",
      "seq": 1,
      "final": true,
      "length": 19,
      "sample": "alpha secret omega\n",
      "sha256": "5db0d32646959fa18ff5f7ba0ebeb4b2eb21a38e8e66465c0ba6f0ec1c28355f"
    },
    {
      "time": 1788975731.3767347,
      "service": "fixture-2",
      "request_id": "64aab309-fa0a-4694-a536-f837118ccda4",
      "path": "/fixed",
      "kind": "trailers",
      "trailers": {}
    }
  ]
}
Headers → Whole200curl 0
PASS
pair-1-3
{
  "path": "/fixed",
  "stages": [
    {
      "mode": 1,
      "body": "transform",
      "find": "secret",
      "replace": "TOKEN",
      "header": "0"
    },
    {
      "mode": 3,
      "body": "transform",
      "find": "TOKEN",
      "replace": "FINAL",
      "header": "1"
    }
  ],
  "checks": {
    "status": true,
    "curl_code": true,
    "body": true,
    "header": true
  },
  "response": {
    "status": 200,
    "curl_code": 0,
    "headers": "HTTP/1.1 200 OK\nserver: BaseHTTP/0.6 Python/3.12.3\ndate: Wed, 09 Sep 2026 17:42:12 GMT\ncontent-type: text/plain\nx-origin: fixture\nx-live-test: 1\nTransfer-Encoding: chunked\n\n",
    "bytes": 19,
    "sample": "alpha secret omega\n"
  },
  "middleware_events": [
    {
      "time": 1788975732.519227,
      "service": "fixture-1",
      "request_id": "411a40a3-5e1f-438e-9702-089cbc3c66d0",
      "path": "/fixed",
      "kind": "preflight",
      "modes": [
        1,
        2,
        3
      ],
      "limit": 262144,
      "headers": [
        {
          "name": "server",
          "value": "BaseHTTP/0.6 Python/3.12.3"
        },
        {
          "name": "date",
          "value": "Wed, 09 Sep 2026 17:42:12 GMT"
        },
        {
          "name": "content-type",
          "value": "text/plain"
        },
        {
          "name": "x-origin",
          "value": "fixture"
        },
        {
          "name": "etag",
          "value": "\"original\""
        }
      ],
      "config": {
        "body": "transform",
        "replace": "TOKEN",
        "find": "secret",
        "header": "0",
        "mode": 1.0
      }
    },
    {
      "time": 1788975732.5201488,
      "service": "fixture-2",
      "request_id": "411a40a3-5e1f-438e-9702-089cbc3c66d0",
      "path": "/fixed",
      "kind": "preflight",
      "modes": [
        1,
        2,
        3
      ],
      "limit": 262144,
      "headers": [
        {
          "name": "server",
          "value": "BaseHTTP/0.6 Python/3.12.3"
        },
        {
          "name": "date",
          "value": "Wed, 09 Sep 2026 17:42:12 GMT"
        },
        {
          "name": "content-type",
          "value": "text/plain"
        },
        {
          "name": "x-origin",
          "value": "fixture"
        },
        {
          "name": "etag",
          "value": "\"original\""
        },
        {
          "name": "x-live-test",
          "value": "0"
        }
      ],
      "config": {
        "body": "transform",
        "replace": "FINAL",
        "find": "TOKEN",
        "header": "1",
        "mode": 3.0
      }
    },
    {
      "time": 1788975732.5208197,
      "service": "fixture-2",
      "request_id": "411a40a3-5e1f-438e-9702-089cbc3c66d0",
      "path": "/fixed",
      "kind": "body",
      "seq": 1,
      "final": false,
      "length": 19,
      "sample": "alpha secret omega\n",
      "sha256": "5db0d32646959fa18ff5f7ba0ebeb4b2eb21a38e8e66465c0ba6f0ec1c28355f"
    },
    {
      "time": 1788975732.5212922,
      "service": "fixture-2",
      "request_id": "411a40a3-5e1f-438e-9702-089cbc3c66d0",
      "path": "/fixed",
      "kind": "body",
      "seq": 2,
      "final": true,
      "length": 0,
      "sample": "",
      "sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
    },
    {
      "time": 1788975732.5215712,
      "service": "fixture-2",
      "request_id": "411a40a3-5e1f-438e-9702-089cbc3c66d0",
      "path": "/fixed",
      "kind": "trailers",
      "trailers": {}
    }
  ]
}
Headers → Stream200curl 0
PASS
pair-2-1
{
  "path": "/fixed",
  "stages": [
    {
      "mode": 2,
      "body": "transform",
      "find": "secret",
      "replace": "TOKEN",
      "header": "0"
    },
    {
      "mode": 1,
      "body": "transform",
      "find": "TOKEN",
      "replace": "FINAL",
      "header": "1"
    }
  ],
  "checks": {
    "status": true,
    "curl_code": true,
    "body": true,
    "header": true
  },
  "response": {
    "status": 200,
    "curl_code": 0,
    "headers": "HTTP/1.1 200 OK\nserver: BaseHTTP/0.6 Python/3.12.3\ndate: Wed, 09 Sep 2026 17:42:13 GMT\ncontent-type: text/plain\nx-origin: fixture\nx-live-test: 1\nContent-Length: 18\n\n",
    "bytes": 18,
    "sample": "alpha TOKEN omega\n"
  },
  "middleware_events": [
    {
      "time": 1788975733.6623867,
      "service": "fixture-1",
      "request_id": "9bc0a645-59ae-4cba-9d61-0bfeeb173cfb",
      "path": "/fixed",
      "kind": "preflight",
      "modes": [
        1,
        2,
        3
      ],
      "limit": 262144,
      "headers": [
        {
          "name": "server",
          "value": "BaseHTTP/0.6 Python/3.12.3"
        },
        {
          "name": "date",
          "value": "Wed, 09 Sep 2026 17:42:13 GMT"
        },
        {
          "name": "content-type",
          "value": "text/plain"
        },
        {
          "name": "x-origin",
          "value": "fixture"
        },
        {
          "name": "etag",
          "value": "\"original\""
        }
      ],
      "config": {
        "body": "transform",
        "replace": "TOKEN",
        "find": "secret",
        "header": "0",
        "mode": 2.0
      }
    },
    {
      "time": 1788975733.6634626,
      "service": "fixture-2",
      "request_id": "9bc0a645-59ae-4cba-9d61-0bfeeb173cfb",
      "path": "/fixed",
      "kind": "preflight",
      "modes": [
        1,
        2,
        3
      ],
      "limit": 262144,
      "headers": [
        {
          "name": "server",
          "value": "BaseHTTP/0.6 Python/3.12.3"
        },
        {
          "name": "date",
          "value": "Wed, 09 Sep 2026 17:42:13 GMT"
        },
        {
          "name": "content-type",
          "value": "text/plain"
        },
        {
          "name": "x-origin",
          "value": "fixture"
        },
        {
          "name": "etag",
          "value": "\"original\""
        },
        {
          "name": "x-live-test",
          "value": "0"
        }
      ],
      "config": {
        "body": "transform",
        "replace": "FINAL",
        "find": "TOKEN",
        "header": "1",
        "mode": 1.0
      }
    },
    {
      "time": 1788975733.6641936,
      "service": "fixture-1",
      "request_id": "9bc0a645-59ae-4cba-9d61-0bfeeb173cfb",
      "path": "/fixed",
      "kind": "body",
      "seq": 1,
      "final": true,
      "length": 19,
      "sample": "alpha secret omega\n",
      "sha256": "5db0d32646959fa18ff5f7ba0ebeb4b2eb21a38e8e66465c0ba6f0ec1c28355f"
    },
    {
      "time": 1788975733.6645656,
      "service": "fixture-1",
      "request_id": "9bc0a645-59ae-4cba-9d61-0bfeeb173cfb",
      "path": "/fixed",
      "kind": "trailers",
      "trailers": {}
    }
  ]
}
Whole → Headers200curl 0
PASS
pair-2-2
{
  "path": "/fixed",
  "stages": [
    {
      "mode": 2,
      "body": "transform",
      "find": "secret",
      "replace": "TOKEN",
      "header": "0"
    },
    {
      "mode": 2,
      "body": "transform",
      "find": "TOKEN",
      "replace": "FINAL",
      "header": "1"
    }
  ],
  "checks": {
    "status": true,
    "curl_code": true,
    "body": true,
    "header": true
  },
  "response": {
    "status": 200,
    "curl_code": 0,
    "headers": "HTTP/1.1 200 OK\nserver: BaseHTTP/0.6 Python/3.12.3\ndate: Wed, 09 Sep 2026 17:42:14 GMT\ncontent-type: text/plain\nx-origin: fixture\nx-live-test: 1\nContent-Length: 18\n\n",
    "bytes": 18,
    "sample": "alpha FINAL omega\n"
  },
  "middleware_events": [
    {
      "time": 1788975734.7969227,
      "service": "fixture-1",
      "request_id": "752509ff-7d1a-4e7c-9c33-f9f6a0b4e98a",
      "path": "/fixed",
      "kind": "preflight",
      "modes": [
        1,
        2,
        3
      ],
      "limit": 262144,
      "headers": [
        {
          "name": "server",
          "value": "BaseHTTP/0.6 Python/3.12.3"
        },
        {
          "name": "date",
          "value": "Wed, 09 Sep 2026 17:42:14 GMT"
        },
        {
          "name": "content-type",
          "value": "text/plain"
        },
        {
          "name": "x-origin",
          "value": "fixture"
        },
        {
          "name": "etag",
          "value": "\"original\""
        }
      ],
      "config": {
        "body": "transform",
        "replace": "TOKEN",
        "find": "secret",
        "header": "0",
        "mode": 2.0
      }
    },
    {
      "time": 1788975734.797851,
      "service": "fixture-2",
      "request_id": "752509ff-7d1a-4e7c-9c33-f9f6a0b4e98a",
      "path": "/fixed",
      "kind": "preflight",
      "modes": [
        1,
        2,
        3
      ],
      "limit": 262144,
      "headers": [
        {
          "name": "server",
          "value": "BaseHTTP/0.6 Python/3.12.3"
        },
        {
          "name": "date",
          "value": "Wed, 09 Sep 2026 17:42:14 GMT"
        },
        {
          "name": "content-type",
          "value": "text/plain"
        },
        {
          "name": "x-origin",
          "value": "fixture"
        },
        {
          "name": "etag",
          "value": "\"original\""
        },
        {
          "name": "x-live-test",
          "value": "0"
        }
      ],
      "config": {
        "body": "transform",
        "replace": "FINAL",
        "find": "TOKEN",
        "header": "1",
        "mode": 2.0
      }
    },
    {
      "time": 1788975734.7984183,
      "service": "fixture-1",
      "request_id": "752509ff-7d1a-4e7c-9c33-f9f6a0b4e98a",
      "path": "/fixed",
      "kind": "body",
      "seq": 1,
      "final": true,
      "length": 19,
      "sample": "alpha secret omega\n",
      "sha256": "5db0d32646959fa18ff5f7ba0ebeb4b2eb21a38e8e66465c0ba6f0ec1c28355f"
    },
    {
      "time": 1788975734.7988386,
      "service": "fixture-2",
      "request_id": "752509ff-7d1a-4e7c-9c33-f9f6a0b4e98a",
      "path": "/fixed",
      "kind": "body",
      "seq": 1,
      "final": true,
      "length": 18,
      "sample": "alpha TOKEN omega\n",
      "sha256": "e89f4ee2b642fb568dd50e3209b5f9ad8df2586cb6f32136e3f9dda03583a65b"
    },
    {
      "time": 1788975734.799246,
      "service": "fixture-1",
      "request_id": "752509ff-7d1a-4e7c-9c33-f9f6a0b4e98a",
      "path": "/fixed",
      "kind": "trailers",
      "trailers": {}
    },
    {
      "time": 1788975734.799649,
      "service": "fixture-2",
      "request_id": "752509ff-7d1a-4e7c-9c33-f9f6a0b4e98a",
      "path": "/fixed",
      "kind": "trailers",
      "trailers": {}
    }
  ]
}
Whole → Whole200curl 0
PASS
pair-2-3
{
  "path": "/fixed",
  "stages": [
    {
      "mode": 2,
      "body": "transform",
      "find": "secret",
      "replace": "TOKEN",
      "header": "0"
    },
    {
      "mode": 3,
      "body": "transform",
      "find": "TOKEN",
      "replace": "FINAL",
      "header": "1"
    }
  ],
  "checks": {
    "status": true,
    "curl_code": true,
    "body": true,
    "header": true
  },
  "response": {
    "status": 200,
    "curl_code": 0,
    "headers": "HTTP/1.1 200 OK\nserver: BaseHTTP/0.6 Python/3.12.3\ndate: Wed, 09 Sep 2026 17:42:15 GMT\ncontent-type: text/plain\nx-origin: fixture\nx-live-test: 1\nContent-Length: 18\n\n",
    "bytes": 18,
    "sample": "alpha FINAL omega\n"
  },
  "middleware_events": [
    {
      "time": 1788975735.9358587,
      "service": "fixture-1",
      "request_id": "e7c53cec-09bb-4c61-9d72-c66e5eb242e6",
      "path": "/fixed",
      "kind": "preflight",
      "modes": [
        1,
        2,
        3
      ],
      "limit": 262144,
      "headers": [
        {
          "name": "server",
          "value": "BaseHTTP/0.6 Python/3.12.3"
        },
        {
          "name": "date",
          "value": "Wed, 09 Sep 2026 17:42:15 GMT"
        },
        {
          "name": "content-type",
          "value": "text/plain"
        },
        {
          "name": "x-origin",
          "value": "fixture"
        },
        {
          "name": "etag",
          "value": "\"original\""
        }
      ],
      "config": {
        "body": "transform",
        "replace": "TOKEN",
        "find": "secret",
        "header": "0",
        "mode": 2.0
      }
    },
    {
      "time": 1788975735.9368021,
      "service": "fixture-2",
      "request_id": "e7c53cec-09bb-4c61-9d72-c66e5eb242e6",
      "path": "/fixed",
      "kind": "preflight",
      "modes": [
        1,
        2,
        3
      ],
      "limit": 262144,
      "headers": [
        {
          "name": "server",
          "value": "BaseHTTP/0.6 Python/3.12.3"
        },
        {
          "name": "date",
          "value": "Wed, 09 Sep 2026 17:42:15 GMT"
        },
        {
          "name": "content-type",
          "value": "text/plain"
        },
        {
          "name": "x-origin",
          "value": "fixture"
        },
        {
          "name": "etag",
          "value": "\"original\""
        },
        {
          "name": "x-live-test",
          "value": "0"
        }
      ],
      "config": {
        "body": "transform",
        "replace": "FINAL",
        "find": "TOKEN",
        "header": "1",
        "mode": 3.0
      }
    },
    {
      "time": 1788975735.9374938,
      "service": "fixture-1",
      "request_id": "e7c53cec-09bb-4c61-9d72-c66e5eb242e6",
      "path": "/fixed",
      "kind": "body",
      "seq": 1,
      "final": true,
      "length": 19,
      "sample": "alpha secret omega\n",
      "sha256": "5db0d32646959fa18ff5f7ba0ebeb4b2eb21a38e8e66465c0ba6f0ec1c28355f"
    },
    {
      "time": 1788975735.937938,
      "service": "fixture-2",
      "request_id": "e7c53cec-09bb-4c61-9d72-c66e5eb242e6",
      "path": "/fixed",
      "kind": "body",
      "seq": 1,
      "final": false,
      "length": 18,
      "sample": "alpha TOKEN omega\n",
      "sha256": "e89f4ee2b642fb568dd50e3209b5f9ad8df2586cb6f32136e3f9dda03583a65b"
    },
    {
      "time": 1788975735.938295,
      "service": "fixture-2",
      "request_id": "e7c53cec-09bb-4c61-9d72-c66e5eb242e6",
      "path": "/fixed",
      "kind": "body",
      "seq": 2,
      "final": true,
      "length": 0,
      "sample": "",
      "sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
    },
    {
      "time": 1788975735.93858,
      "service": "fixture-1",
      "request_id": "e7c53cec-09bb-4c61-9d72-c66e5eb242e6",
      "path": "/fixed",
      "kind": "trailers",
      "trailers": {}
    },
    {
      "time": 1788975735.9388928,
      "service": "fixture-2",
      "request_id": "e7c53cec-09bb-4c61-9d72-c66e5eb242e6",
      "path": "/fixed",
      "kind": "trailers",
      "trailers": {}
    }
  ]
}
Whole → Stream200curl 0
PASS
pair-3-1
{
  "path": "/fixed",
  "stages": [
    {
      "mode": 3,
      "body": "transform",
      "find": "secret",
      "replace": "TOKEN",
      "header": "0"
    },
    {
      "mode": 1,
      "body": "transform",
      "find": "TOKEN",
      "replace": "FINAL",
      "header": "1"
    }
  ],
  "checks": {
    "status": true,
    "curl_code": true,
    "body": true,
    "header": true
  },
  "response": {
    "status": 200,
    "curl_code": 0,
    "headers": "HTTP/1.1 200 OK\nserver: BaseHTTP/0.6 Python/3.12.3\ndate: Wed, 09 Sep 2026 17:42:17 GMT\ncontent-type: text/plain\nx-origin: fixture\nx-live-test: 1\nTransfer-Encoding: chunked\n\n",
    "bytes": 18,
    "sample": "alpha TOKEN omega\n"
  },
  "middleware_events": [
    {
      "time": 1788975737.085561,
      "service": "fixture-1",
      "request_id": "ea7a4fc4-4816-4654-ad06-916a689f005f",
      "path": "/fixed",
      "kind": "preflight",
      "modes": [
        1,
        2,
        3
      ],
      "limit": 262144,
      "headers": [
        {
          "name": "server",
          "value": "BaseHTTP/0.6 Python/3.12.3"
        },
        {
          "name": "date",
          "value": "Wed, 09 Sep 2026 17:42:17 GMT"
        },
        {
          "name": "content-type",
          "value": "text/plain"
        },
        {
          "name": "x-origin",
          "value": "fixture"
        },
        {
          "name": "etag",
          "value": "\"original\""
        }
      ],
      "config": {
        "body": "transform",
        "replace": "TOKEN",
        "find": "secret",
        "header": "0",
        "mode": 3.0
      }
    },
    {
      "time": 1788975737.086582,
      "service": "fixture-2",
      "request_id": "ea7a4fc4-4816-4654-ad06-916a689f005f",
      "path": "/fixed",
      "kind": "preflight",
      "modes": [
        1,
        2,
        3
      ],
      "limit": 262144,
      "headers": [
        {
          "name": "server",
          "value": "BaseHTTP/0.6 Python/3.12.3"
        },
        {
          "name": "date",
          "value": "Wed, 09 Sep 2026 17:42:17 GMT"
        },
        {
          "name": "content-type",
          "value": "text/plain"
        },
        {
          "name": "x-origin",
          "value": "fixture"
        },
        {
          "name": "x-live-test",
          "value": "0"
        }
      ],
      "config": {
        "body": "transform",
        "replace": "FINAL",
        "find": "TOKEN",
        "header": "1",
        "mode": 1.0
      }
    },
    {
      "time": 1788975737.087566,
      "service": "fixture-1",
      "request_id": "ea7a4fc4-4816-4654-ad06-916a689f005f",
      "path": "/fixed",
      "kind": "body",
      "seq": 1,
      "final": false,
      "length": 19,
      "sample": "alpha secret omega\n",
      "sha256": "5db0d32646959fa18ff5f7ba0ebeb4b2eb21a38e8e66465c0ba6f0ec1c28355f"
    },
    {
      "time": 1788975737.0884836,
      "service": "fixture-1",
      "request_id": "ea7a4fc4-4816-4654-ad06-916a689f005f",
      "path": "/fixed",
      "kind": "body",
      "seq": 2,
      "final": true,
      "length": 0,
      "sample": "",
      "sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
    },
    {
      "time": 1788975737.0890746,
      "service": "fixture-1",
      "request_id": "ea7a4fc4-4816-4654-ad06-916a689f005f",
      "path": "/fixed",
      "kind": "trailers",
      "trailers": {}
    }
  ]
}
Stream → Headers200curl 0
PASS
pair-3-2
{
  "path": "/fixed",
  "stages": [
    {
      "mode": 3,
      "body": "transform",
      "find": "secret",
      "replace": "TOKEN",
      "header": "0"
    },
    {
      "mode": 2,
      "body": "transform",
      "find": "TOKEN",
      "replace": "FINAL",
      "header": "1"
    }
  ],
  "checks": {
    "status": true,
    "curl_code": true,
    "body": true,
    "header": true
  },
  "response": {
    "status": 200,
    "curl_code": 0,
    "headers": "HTTP/1.1 200 OK\nserver: BaseHTTP/0.6 Python/3.12.3\ndate: Wed, 09 Sep 2026 17:42:18 GMT\ncontent-type: text/plain\nx-origin: fixture\nx-live-test: 1\nContent-Length: 18\n\n",
    "bytes": 18,
    "sample": "alpha FINAL omega\n"
  },
  "middleware_events": [
    {
      "time": 1788975738.2412279,
      "service": "fixture-1",
      "request_id": "68795f12-8dba-485c-ad65-d999d422a6d4",
      "path": "/fixed",
      "kind": "preflight",
      "modes": [
        1,
        2,
        3
      ],
      "limit": 262144,
      "headers": [
        {
          "name": "server",
          "value": "BaseHTTP/0.6 Python/3.12.3"
        },
        {
          "name": "date",
          "value": "Wed, 09 Sep 2026 17:42:18 GMT"
        },
        {
          "name": "content-type",
          "value": "text/plain"
        },
        {
          "name": "x-origin",
          "value": "fixture"
        },
        {
          "name": "etag",
          "value": "\"original\""
        }
      ],
      "config": {
        "body": "transform",
        "replace": "TOKEN",
        "find": "secret",
        "header": "0",
        "mode": 3.0
      }
    },
    {
      "time": 1788975738.242332,
      "service": "fixture-2",
      "request_id": "68795f12-8dba-485c-ad65-d999d422a6d4",
      "path": "/fixed",
      "kind": "preflight",
      "modes": [
        1,
        2,
        3
      ],
      "limit": 262144,
      "headers": [
        {
          "name": "server",
          "value": "BaseHTTP/0.6 Python/3.12.3"
        },
        {
          "name": "date",
          "value": "Wed, 09 Sep 2026 17:42:18 GMT"
        },
        {
          "name": "content-type",
          "value": "text/plain"
        },
        {
          "name": "x-origin",
          "value": "fixture"
        },
        {
          "name": "x-live-test",
          "value": "0"
        }
      ],
      "config": {
        "body": "transform",
        "replace": "FINAL",
        "find": "TOKEN",
        "header": "1",
        "mode": 2.0
      }
    },
    {
      "time": 1788975738.2433205,
      "service": "fixture-1",
      "request_id": "68795f12-8dba-485c-ad65-d999d422a6d4",
      "path": "/fixed",
      "kind": "body",
      "seq": 1,
      "final": false,
      "length": 19,
      "sample": "alpha secret omega\n",
      "sha256": "5db0d32646959fa18ff5f7ba0ebeb4b2eb21a38e8e66465c0ba6f0ec1c28355f"
    },
    {
      "time": 1788975738.2440073,
      "service": "fixture-1",
      "request_id": "68795f12-8dba-485c-ad65-d999d422a6d4",
      "path": "/fixed",
      "kind": "body",
      "seq": 2,
      "final": true,
      "length": 0,
      "sample": "",
      "sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
    },
    {
      "time": 1788975738.2444444,
      "service": "fixture-2",
      "request_id": "68795f12-8dba-485c-ad65-d999d422a6d4",
      "path": "/fixed",
      "kind": "body",
      "seq": 1,
      "final": true,
      "length": 18,
      "sample": "alpha TOKEN omega\n",
      "sha256": "e89f4ee2b642fb568dd50e3209b5f9ad8df2586cb6f32136e3f9dda03583a65b"
    },
    {
      "time": 1788975738.244929,
      "service": "fixture-1",
      "request_id": "68795f12-8dba-485c-ad65-d999d422a6d4",
      "path": "/fixed",
      "kind": "trailers",
      "trailers": {}
    },
    {
      "time": 1788975738.245363,
      "service": "fixture-2",
      "request_id": "68795f12-8dba-485c-ad65-d999d422a6d4",
      "path": "/fixed",
      "kind": "trailers",
      "trailers": {}
    }
  ]
}
Stream → Whole200curl 0
PASS
pair-3-3
{
  "path": "/fixed",
  "stages": [
    {
      "mode": 3,
      "body": "transform",
      "find": "secret",
      "replace": "TOKEN",
      "header": "0"
    },
    {
      "mode": 3,
      "body": "transform",
      "find": "TOKEN",
      "replace": "FINAL",
      "header": "1"
    }
  ],
  "checks": {
    "status": true,
    "curl_code": true,
    "body": true,
    "header": true
  },
  "response": {
    "status": 200,
    "curl_code": 0,
    "headers": "HTTP/1.1 200 OK\nserver: BaseHTTP/0.6 Python/3.12.3\ndate: Wed, 09 Sep 2026 17:42:19 GMT\ncontent-type: text/plain\nx-origin: fixture\nx-live-test: 1\nTransfer-Encoding: chunked\n\n",
    "bytes": 18,
    "sample": "alpha FINAL omega\n"
  },
  "middleware_events": [
    {
      "time": 1788975739.3917422,
      "service": "fixture-1",
      "request_id": "93317751-66ca-4ec8-bb64-792d1d576262",
      "path": "/fixed",
      "kind": "preflight",
      "modes": [
        1,
        2,
        3
      ],
      "limit": 262144,
      "headers": [
        {
          "name": "server",
          "value": "BaseHTTP/0.6 Python/3.12.3"
        },
        {
          "name": "date",
          "value": "Wed, 09 Sep 2026 17:42:19 GMT"
        },
        {
          "name": "content-type",
          "value": "text/plain"
        },
        {
          "name": "x-origin",
          "value": "fixture"
        },
        {
          "name": "etag",
          "value": "\"original\""
        }
      ],
      "config": {
        "body": "transform",
        "replace": "TOKEN",
        "find": "secret",
        "header": "0",
        "mode": 3.0
      }
    },
    {
      "time": 1788975739.3930857,
      "service": "fixture-2",
      "request_id": "93317751-66ca-4ec8-bb64-792d1d576262",
      "path": "/fixed",
      "kind": "preflight",
      "modes": [
        1,
        2,
        3
      ],
      "limit": 262144,
      "headers": [
        {
          "name": "server",
          "value": "BaseHTTP/0.6 Python/3.12.3"
        },
        {
          "name": "date",
          "value": "Wed, 09 Sep 2026 17:42:19 GMT"
        },
        {
          "name": "content-type",
          "value": "text/plain"
        },
        {
          "name": "x-origin",
          "value": "fixture"
        },
        {
          "name": "x-live-test",
          "value": "0"
        }
      ],
      "config": {
        "body": "transform",
        "replace": "FINAL",
        "find": "TOKEN",
        "header": "1",
        "mode": 3.0
      }
    },
    {
      "time": 1788975739.3940902,
      "service": "fixture-1",
      "request_id": "93317751-66ca-4ec8-bb64-792d1d576262",
      "path": "/fixed",
      "kind": "body",
      "seq": 1,
      "final": false,
      "length": 19,
      "sample": "alpha secret omega\n",
      "sha256": "5db0d32646959fa18ff5f7ba0ebeb4b2eb21a38e8e66465c0ba6f0ec1c28355f"
    },
    {
      "time": 1788975739.3946304,
      "service": "fixture-2",
      "request_id": "93317751-66ca-4ec8-bb64-792d1d576262",
      "path": "/fixed",
      "kind": "body",
      "seq": 1,
      "final": false,
      "length": 18,
      "sample": "alpha TOKEN omega\n",
      "sha256": "e89f4ee2b642fb568dd50e3209b5f9ad8df2586cb6f32136e3f9dda03583a65b"
    },
    {
      "time": 1788975739.3955617,
      "service": "fixture-1",
      "request_id": "93317751-66ca-4ec8-bb64-792d1d576262",
      "path": "/fixed",
      "kind": "body",
      "seq": 2,
      "final": true,
      "length": 0,
      "sample": "",
      "sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
    },
    {
      "time": 1788975739.3963435,
      "service": "fixture-2",
      "request_id": "93317751-66ca-4ec8-bb64-792d1d576262",
      "path": "/fixed",
      "kind": "body",
      "seq": 2,
      "final": true,
      "length": 0,
      "sample": "",
      "sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
    },
    {
      "time": 1788975739.3969488,
      "service": "fixture-1",
      "request_id": "93317751-66ca-4ec8-bb64-792d1d576262",
      "path": "/fixed",
      "kind": "trailers",
      "trailers": {}
    },
    {
      "time": 1788975739.3976593,
      "service": "fixture-2",
      "request_id": "93317751-66ca-4ec8-bb64-792d1d576262",
      "path": "/fixed",
      "kind": "trailers",
      "trailers": {}
    }
  ]
}
Stream → Stream200curl 0
PASS
triple-2-2-2
{
  "path": "/fixed",
  "stages": [
    {
      "mode": 2,
      "body": "transform",
      "find": "secret",
      "replace": "A"
    },
    {
      "mode": 2,
      "body": "transform",
      "find": "A",
      "replace": "B"
    },
    {
      "mode": 2,
      "body": "transform",
      "find": "B",
      "replace": "C"
    }
  ],
  "checks": {
    "status": true,
    "curl_code": true,
    "body": true
  },
  "response": {
    "status": 200,
    "curl_code": 0,
    "headers": "HTTP/1.1 200 OK\nserver: BaseHTTP/0.6 Python/3.12.3\ndate: Wed, 09 Sep 2026 17:42:20 GMT\ncontent-type: text/plain\nx-origin: fixture\nContent-Length: 14\n\n",
    "bytes": 14,
    "sample": "alpha C omega\n"
  },
  "middleware_events": [
    {
      "time": 1788975740.5404801,
      "service": "fixture-1",
      "request_id": "c5c6da8a-11a1-494f-83a9-907d6c5f8da2",
      "path": "/fixed",
      "kind": "preflight",
      "modes": [
        1,
        2,
        3
      ],
      "limit": 262144,
      "headers": [
        {
          "name": "server",
          "value": "BaseHTTP/0.6 Python/3.12.3"
        },
        {
          "name": "date",
          "value": "Wed, 09 Sep 2026 17:42:20 GMT"
        },
        {
          "name": "content-type",
          "value": "text/plain"
        },
        {
          "name": "x-origin",
          "value": "fixture"
        },
        {
          "name": "etag",
          "value": "\"original\""
        }
      ],
      "config": {
        "body": "transform",
        "replace": "A",
        "find": "secret",
        "mode": 2.0
      }
    },
    {
      "time": 1788975740.5417495,
      "service": "fixture-2",
      "request_id": "c5c6da8a-11a1-494f-83a9-907d6c5f8da2",
      "path": "/fixed",
      "kind": "preflight",
      "modes": [
        1,
        2,
        3
      ],
      "limit": 262144,
      "headers": [
        {
          "name": "server",
          "value": "BaseHTTP/0.6 Python/3.12.3"
        },
        {
          "name": "date",
          "value": "Wed, 09 Sep 2026 17:42:20 GMT"
        },
        {
          "name": "content-type",
          "value": "text/plain"
        },
        {
          "name": "x-origin",
          "value": "fixture"
        },
        {
          "name": "etag",
          "value": "\"original\""
        }
      ],
      "config": {
        "body": "transform",
        "replace": "B",
        "find": "A",
        "mode": 2.0
      }
    },
    {
      "time": 1788975740.5429814,
      "service": "fixture-3",
      "request_id": "c5c6da8a-11a1-494f-83a9-907d6c5f8da2",
      "path": "/fixed",
      "kind": "preflight",
      "modes": [
        1,
        2,
        3
      ],
      "limit": 262144,
      "headers": [
        {
          "name": "server",
          "value": "BaseHTTP/0.6 Python/3.12.3"
        },
        {
          "name": "date",
          "value": "Wed, 09 Sep 2026 17:42:20 GMT"
        },
        {
          "name": "content-type",
          "value": "text/plain"
        },
        {
          "name": "x-origin",
          "value": "fixture"
        },
        {
          "name": "etag",
          "value": "\"original\""
        }
      ],
      "config": {
        "body": "transform",
        "replace": "C",
        "find": "B",
        "mode": 2.0
      }
    },
    {
      "time": 1788975740.543827,
      "service": "fixture-1",
      "request_id": "c5c6da8a-11a1-494f-83a9-907d6c5f8da2",
      "path": "/fixed",
      "kind": "body",
      "seq": 1,
      "final": true,
      "length": 19,
      "sample": "alpha secret omega\n",
      "sha256": "5db0d32646959fa18ff5f7ba0ebeb4b2eb21a38e8e66465c0ba6f0ec1c28355f"
    },
    {
      "time": 1788975740.5445473,
      "service": "fixture-2",
      "request_id": "c5c6da8a-11a1-494f-83a9-907d6c5f8da2",
      "path": "/fixed",
      "kind": "body",
      "seq": 1,
      "final": true,
      "length": 14,
      "sample": "alpha A omega\n",
      "sha256": "fcf34dc7671e35b235235fa24ec59de1ef81217f08a2580a50f7b2f82e63f223"
    },
    {
      "time": 1788975740.5450323,
      "service": "fixture-3",
      "request_id": "c5c6da8a-11a1-494f-83a9-907d6c5f8da2",
      "path": "/fixed",
      "kind": "body",
      "seq": 1,
      "final": true,
      "length": 14,
      "sample": "alpha B omega\n",
      "sha256": "5c76bf56fb83713b2a4c6590830e6d727fa41cf461ea011c63892e41df75d182"
    },
    {
      "time": 1788975740.5454202,
      "service": "fixture-1",
      "request_id": "c5c6da8a-11a1-494f-83a9-907d6c5f8da2",
      "path": "/fixed",
      "kind": "trailers",
      "trailers": {}
    },
    {
      "time": 1788975740.545664,
      "service": "fixture-2",
      "request_id": "c5c6da8a-11a1-494f-83a9-907d6c5f8da2",
      "path": "/fixed",
      "kind": "trailers",
      "trailers": {}
    },
    {
      "time": 1788975740.5461757,
      "service": "fixture-3",
      "request_id": "c5c6da8a-11a1-494f-83a9-907d6c5f8da2",
      "path": "/fixed",
      "kind": "trailers",
      "trailers": {}
    }
  ]
}
Whole → Whole → Whole200curl 0
PASS
triple-3-3-3
{
  "path": "/fixed",
  "stages": [
    {
      "mode": 3,
      "body": "transform",
      "find": "secret",
      "replace": "A"
    },
    {
      "mode": 3,
      "body": "transform",
      "find": "A",
      "replace": "B"
    },
    {
      "mode": 3,
      "body": "transform",
      "find": "B",
      "replace": "C"
    }
  ],
  "checks": {
    "status": true,
    "curl_code": true,
    "body": true
  },
  "response": {
    "status": 200,
    "curl_code": 0,
    "headers": "HTTP/1.1 200 OK\nserver: BaseHTTP/0.6 Python/3.12.3\ndate: Wed, 09 Sep 2026 17:42:21 GMT\ncontent-type: text/plain\nx-origin: fixture\nTransfer-Encoding: chunked\n\n",
    "bytes": 14,
    "sample": "alpha C omega\n"
  },
  "middleware_events": [
    {
      "time": 1788975741.6894755,
      "service": "fixture-1",
      "request_id": "1cf73dcf-28cb-48dc-ad60-fb60a6956e52",
      "path": "/fixed",
      "kind": "preflight",
      "modes": [
        1,
        2,
        3
      ],
      "limit": 262144,
      "headers": [
        {
          "name": "server",
          "value": "BaseHTTP/0.6 Python/3.12.3"
        },
        {
          "name": "date",
          "value": "Wed, 09 Sep 2026 17:42:21 GMT"
        },
        {
          "name": "content-type",
          "value": "text/plain"
        },
        {
          "name": "x-origin",
          "value": "fixture"
        },
        {
          "name": "etag",
          "value": "\"original\""
        }
      ],
      "config": {
        "body": "transform",
        "replace": "A",
        "find": "secret",
        "mode": 3.0
      }
    },
    {
      "time": 1788975741.6903808,
      "service": "fixture-2",
      "request_id": "1cf73dcf-28cb-48dc-ad60-fb60a6956e52",
      "path": "/fixed",
      "kind": "preflight",
      "modes": [
        1,
        2,
        3
      ],
      "limit": 262144,
      "headers": [
        {
          "name": "server",
          "value": "BaseHTTP/0.6 Python/3.12.3"
        },
        {
          "name": "date",
          "value": "Wed, 09 Sep 2026 17:42:21 GMT"
        },
        {
          "name": "content-type",
          "value": "text/plain"
        },
        {
          "name": "x-origin",
          "value": "fixture"
        }
      ],
      "config": {
        "body": "transform",
        "replace": "B",
        "find": "A",
        "mode": 3.0
      }
    },
    {
      "time": 1788975741.6911447,
      "service": "fixture-3",
      "request_id": "1cf73dcf-28cb-48dc-ad60-fb60a6956e52",
      "path": "/fixed",
      "kind": "preflight",
      "modes": [
        1,
        2,
        3
      ],
      "limit": 262144,
      "headers": [
        {
          "name": "server",
          "value": "BaseHTTP/0.6 Python/3.12.3"
        },
        {
          "name": "date",
          "value": "Wed, 09 Sep 2026 17:42:21 GMT"
        },
        {
          "name": "content-type",
          "value": "text/plain"
        },
        {
          "name": "x-origin",
          "value": "fixture"
        }
      ],
      "config": {
        "body": "transform",
        "replace": "C",
        "find": "B",
        "mode": 3.0
      }
    },
    {
      "time": 1788975741.69209,
      "service": "fixture-1",
      "request_id": "1cf73dcf-28cb-48dc-ad60-fb60a6956e52",
      "path": "/fixed",
      "kind": "body",
      "seq": 1,
      "final": false,
      "length": 19,
      "sample": "alpha secret omega\n",
      "sha256": "5db0d32646959fa18ff5f7ba0ebeb4b2eb21a38e8e66465c0ba6f0ec1c28355f"
    },
    {
      "time": 1788975741.6927702,
      "service": "fixture-2",
      "request_id": "1cf73dcf-28cb-48dc-ad60-fb60a6956e52",
      "path": "/fixed",
      "kind": "body",
      "seq": 1,
      "final": false,
      "length": 14,
      "sample": "alpha A omega\n",
      "sha256": "fcf34dc7671e35b235235fa24ec59de1ef81217f08a2580a50f7b2f82e63f223"
    },
    {
      "time": 1788975741.6931198,
      "service": "fixture-3",
      "request_id": "1cf73dcf-28cb-48dc-ad60-fb60a6956e52",
      "path": "/fixed",
      "kind": "body",
      "seq": 1,
      "final": false,
      "length": 14,
      "sample": "alpha B omega\n",
      "sha256": "5c76bf56fb83713b2a4c6590830e6d727fa41cf461ea011c63892e41df75d182"
    },
    {
      "time": 1788975741.6940074,
      "service": "fixture-1",
      "request_id": "1cf73dcf-28cb-48dc-ad60-fb60a6956e52",
      "path": "/fixed",
      "kind": "body",
      "seq": 2,
      "final": true,
      "length": 0,
      "sample": "",
      "sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
    },
    {
      "time": 1788975741.6946962,
      "service": "fixture-2",
      "request_id": "1cf73dcf-28cb-48dc-ad60-fb60a6956e52",
      "path": "/fixed",
      "kind": "body",
      "seq": 2,
      "final": true,
      "length": 0,
      "sample": "",
      "sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
    },
    {
      "time": 1788975741.694946,
      "service": "fixture-3",
      "request_id": "1cf73dcf-28cb-48dc-ad60-fb60a6956e52",
      "path": "/fixed",
      "kind": "body",
      "seq": 2,
      "final": true,
      "length": 0,
      "sample": "",
      "sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
    },
    {
      "time": 1788975741.6953778,
      "service": "fixture-1",
      "request_id": "1cf73dcf-28cb-48dc-ad60-fb60a6956e52",
      "path": "/fixed",
      "kind": "trailers",
      "trailers": {}
    },
    {
      "time": 1788975741.6957452,
      "service": "fixture-2",
      "request_id": "1cf73dcf-28cb-48dc-ad60-fb60a6956e52",
      "path": "/fixed",
      "kind": "trailers",
      "trailers": {}
    },
    {
      "time": 1788975741.69586,
      "service": "fixture-3",
      "request_id": "1cf73dcf-28cb-48dc-ad60-fb60a6956e52",
      "path": "/fixed",
      "kind": "trailers",
      "trailers": {}
    }
  ]
}
Stream → Stream → Stream200curl 0
PASS
triple-1-2-3
{
  "path": "/fixed",
  "stages": [
    {
      "mode": 1,
      "body": "transform",
      "find": "secret",
      "replace": "A"
    },
    {
      "mode": 2,
      "body": "transform",
      "find": "A",
      "replace": "B"
    },
    {
      "mode": 3,
      "body": "transform",
      "find": "B",
      "replace": "C"
    }
  ],
  "checks": {
    "status": true,
    "curl_code": true,
    "body": true
  },
  "response": {
    "status": 200,
    "curl_code": 0,
    "headers": "HTTP/1.1 200 OK\nserver: BaseHTTP/0.6 Python/3.12.3\ndate: Wed, 09 Sep 2026 17:42:22 GMT\ncontent-type: text/plain\nx-origin: fixture\nContent-Length: 19\n\n",
    "bytes": 19,
    "sample": "alpha secret omega\n"
  },
  "middleware_events": [
    {
      "time": 1788975742.8401947,
      "service": "fixture-1",
      "request_id": "14913e30-c72a-4ce4-bea8-93346733bcf7",
      "path": "/fixed",
      "kind": "preflight",
      "modes": [
        1,
        2,
        3
      ],
      "limit": 262144,
      "headers": [
        {
          "name": "server",
          "value": "BaseHTTP/0.6 Python/3.12.3"
        },
        {
          "name": "date",
          "value": "Wed, 09 Sep 2026 17:42:22 GMT"
        },
        {
          "name": "content-type",
          "value": "text/plain"
        },
        {
          "name": "x-origin",
          "value": "fixture"
        },
        {
          "name": "etag",
          "value": "\"original\""
        }
      ],
      "config": {
        "body": "transform",
        "replace": "A",
        "find": "secret",
        "mode": 1.0
      }
    },
    {
      "time": 1788975742.8411562,
      "service": "fixture-2",
      "request_id": "14913e30-c72a-4ce4-bea8-93346733bcf7",
      "path": "/fixed",
      "kind": "preflight",
      "modes": [
        1,
        2,
        3
      ],
      "limit": 262144,
      "headers": [
        {
          "name": "server",
          "value": "BaseHTTP/0.6 Python/3.12.3"
        },
        {
          "name": "date",
          "value": "Wed, 09 Sep 2026 17:42:22 GMT"
        },
        {
          "name": "content-type",
          "value": "text/plain"
        },
        {
          "name": "x-origin",
          "value": "fixture"
        },
        {
          "name": "etag",
          "value": "\"original\""
        }
      ],
      "config": {
        "body": "transform",
        "replace": "B",
        "find": "A",
        "mode": 2.0
      }
    },
    {
      "time": 1788975742.8422523,
      "service": "fixture-3",
      "request_id": "14913e30-c72a-4ce4-bea8-93346733bcf7",
      "path": "/fixed",
      "kind": "preflight",
      "modes": [
        1,
        2,
        3
      ],
      "limit": 262144,
      "headers": [
        {
          "name": "server",
          "value": "BaseHTTP/0.6 Python/3.12.3"
        },
        {
          "name": "date",
          "value": "Wed, 09 Sep 2026 17:42:22 GMT"
        },
        {
          "name": "content-type",
          "value": "text/plain"
        },
        {
          "name": "x-origin",
          "value": "fixture"
        },
        {
          "name": "etag",
          "value": "\"original\""
        }
      ],
      "config": {
        "body": "transform",
        "replace": "C",
        "find": "B",
        "mode": 3.0
      }
    },
    {
      "time": 1788975742.8427906,
      "service": "fixture-2",
      "request_id": "14913e30-c72a-4ce4-bea8-93346733bcf7",
      "path": "/fixed",
      "kind": "body",
      "seq": 1,
      "final": true,
      "length": 19,
      "sample": "alpha secret omega\n",
      "sha256": "5db0d32646959fa18ff5f7ba0ebeb4b2eb21a38e8e66465c0ba6f0ec1c28355f"
    },
    {
      "time": 1788975742.8432412,
      "service": "fixture-3",
      "request_id": "14913e30-c72a-4ce4-bea8-93346733bcf7",
      "path": "/fixed",
      "kind": "body",
      "seq": 1,
      "final": false,
      "length": 19,
      "sample": "alpha secret omega\n",
      "sha256": "5db0d32646959fa18ff5f7ba0ebeb4b2eb21a38e8e66465c0ba6f0ec1c28355f"
    },
    {
      "time": 1788975742.8435133,
      "service": "fixture-3",
      "request_id": "14913e30-c72a-4ce4-bea8-93346733bcf7",
      "path": "/fixed",
      "kind": "body",
      "seq": 2,
      "final": true,
      "length": 0,
      "sample": "",
      "sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
    },
    {
      "time": 1788975742.843951,
      "service": "fixture-2",
      "request_id": "14913e30-c72a-4ce4-bea8-93346733bcf7",
      "path": "/fixed",
      "kind": "trailers",
      "trailers": {}
    },
    {
      "time": 1788975742.8440814,
      "service": "fixture-3",
      "request_id": "14913e30-c72a-4ce4-bea8-93346733bcf7",
      "path": "/fixed",
      "kind": "trailers",
      "trailers": {}
    }
  ]
}
Headers → Whole → Stream200curl 0
PASS
triple-3-2-3
{
  "path": "/fixed",
  "stages": [
    {
      "mode": 3,
      "body": "transform",
      "find": "secret",
      "replace": "A"
    },
    {
      "mode": 2,
      "body": "transform",
      "find": "A",
      "replace": "B"
    },
    {
      "mode": 3,
      "body": "transform",
      "find": "B",
      "replace": "C"
    }
  ],
  "checks": {
    "status": true,
    "curl_code": true,
    "body": true
  },
  "response": {
    "status": 200,
    "curl_code": 0,
    "headers": "HTTP/1.1 200 OK\nserver: BaseHTTP/0.6 Python/3.12.3\ndate: Wed, 09 Sep 2026 17:42:23 GMT\ncontent-type: text/plain\nx-origin: fixture\nContent-Length: 14\n\n",
    "bytes": 14,
    "sample": "alpha C omega\n"
  },
  "middleware_events": [
    {
      "time": 1788975743.9914227,
      "service": "fixture-1",
      "request_id": "cc56692e-48eb-46b1-8b49-800ae5252e75",
      "path": "/fixed",
      "kind": "preflight",
      "modes": [
        1,
        2,
        3
      ],
      "limit": 262144,
      "headers": [
        {
          "name": "server",
          "value": "BaseHTTP/0.6 Python/3.12.3"
        },
        {
          "name": "date",
          "value": "Wed, 09 Sep 2026 17:42:23 GMT"
        },
        {
          "name": "content-type",
          "value": "text/plain"
        },
        {
          "name": "x-origin",
          "value": "fixture"
        },
        {
          "name": "etag",
          "value": "\"original\""
        }
      ],
      "config": {
        "body": "transform",
        "replace": "A",
        "find": "secret",
        "mode": 3.0
      }
    },
    {
      "time": 1788975743.9923098,
      "service": "fixture-2",
      "request_id": "cc56692e-48eb-46b1-8b49-800ae5252e75",
      "path": "/fixed",
      "kind": "preflight",
      "modes": [
        1,
        2,
        3
      ],
      "limit": 262144,
      "headers": [
        {
          "name": "server",
          "value": "BaseHTTP/0.6 Python/3.12.3"
        },
        {
          "name": "date",
          "value": "Wed, 09 Sep 2026 17:42:23 GMT"
        },
        {
          "name": "content-type",
          "value": "text/plain"
        },
        {
          "name": "x-origin",
          "value": "fixture"
        }
      ],
      "config": {
        "body": "transform",
        "replace": "B",
        "find": "A",
        "mode": 2.0
      }
    },
    {
      "time": 1788975743.9932132,
      "service": "fixture-3",
      "request_id": "cc56692e-48eb-46b1-8b49-800ae5252e75",
      "path": "/fixed",
      "kind": "preflight",
      "modes": [
        1,
        2,
        3
      ],
      "limit": 262144,
      "headers": [
        {
          "name": "server",
          "value": "BaseHTTP/0.6 Python/3.12.3"
        },
        {
          "name": "date",
          "value": "Wed, 09 Sep 2026 17:42:23 GMT"
        },
        {
          "name": "content-type",
          "value": "text/plain"
        },
        {
          "name": "x-origin",
          "value": "fixture"
        }
      ],
      "config": {
        "body": "transform",
        "replace": "C",
        "find": "B",
        "mode": 3.0
      }
    },
    {
      "time": 1788975743.9941432,
      "service": "fixture-1",
      "request_id": "cc56692e-48eb-46b1-8b49-800ae5252e75",
      "path": "/fixed",
      "kind": "body",
      "seq": 1,
      "final": false,
      "length": 19,
      "sample": "alpha secret omega\n",
      "sha256": "5db0d32646959fa18ff5f7ba0ebeb4b2eb21a38e8e66465c0ba6f0ec1c28355f"
    },
    {
      "time": 1788975743.9945776,
      "service": "fixture-1",
      "request_id": "cc56692e-48eb-46b1-8b49-800ae5252e75",
      "path": "/fixed",
      "kind": "body",
      "seq": 2,
      "final": true,
      "length": 0,
      "sample": "",
      "sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
    },
    {
      "time": 1788975743.9952195,
      "service": "fixture-2",
      "request_id": "cc56692e-48eb-46b1-8b49-800ae5252e75",
      "path": "/fixed",
      "kind": "body",
      "seq": 1,
      "final": true,
      "length": 14,
      "sample": "alpha A omega\n",
      "sha256": "fcf34dc7671e35b235235fa24ec59de1ef81217f08a2580a50f7b2f82e63f223"
    },
    {
      "time": 1788975743.995968,
      "service": "fixture-3",
      "request_id": "cc56692e-48eb-46b1-8b49-800ae5252e75",
      "path": "/fixed",
      "kind": "body",
      "seq": 1,
      "final": false,
      "length": 14,
      "sample": "alpha B omega\n",
      "sha256": "5c76bf56fb83713b2a4c6590830e6d727fa41cf461ea011c63892e41df75d182"
    },
    {
      "time": 1788975743.9965146,
      "service": "fixture-3",
      "request_id": "cc56692e-48eb-46b1-8b49-800ae5252e75",
      "path": "/fixed",
      "kind": "body",
      "seq": 2,
      "final": true,
      "length": 0,
      "sample": "",
      "sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
    },
    {
      "time": 1788975743.997109,
      "service": "fixture-1",
      "request_id": "cc56692e-48eb-46b1-8b49-800ae5252e75",
      "path": "/fixed",
      "kind": "trailers",
      "trailers": {}
    },
    {
      "time": 1788975743.997821,
      "service": "fixture-2",
      "request_id": "cc56692e-48eb-46b1-8b49-800ae5252e75",
      "path": "/fixed",
      "kind": "trailers",
      "trailers": {}
    },
    {
      "time": 1788975743.998456,
      "service": "fixture-3",
      "request_id": "cc56692e-48eb-46b1-8b49-800ae5252e75",
      "path": "/fixed",
      "kind": "trailers",
      "trailers": {}
    }
  ]
}
Stream → Whole → Stream200curl 0
PASS
triple-2-3-2
{
  "path": "/fixed",
  "stages": [
    {
      "mode": 2,
      "body": "transform",
      "find": "secret",
      "replace": "A"
    },
    {
      "mode": 3,
      "body": "transform",
      "find": "A",
      "replace": "B"
    },
    {
      "mode": 2,
      "body": "transform",
      "find": "B",
      "replace": "C"
    }
  ],
  "checks": {
    "status": true,
    "curl_code": true,
    "body": true
  },
  "response": {
    "status": 200,
    "curl_code": 0,
    "headers": "HTTP/1.1 200 OK\nserver: BaseHTTP/0.6 Python/3.12.3\ndate: Wed, 09 Sep 2026 17:42:25 GMT\ncontent-type: text/plain\nx-origin: fixture\nContent-Length: 14\n\n",
    "bytes": 14,
    "sample": "alpha C omega\n"
  },
  "middleware_events": [
    {
      "time": 1788975745.1515589,
      "service": "fixture-1",
      "request_id": "cb2c4ce8-ef1c-4d94-aeda-25ca9af188e0",
      "path": "/fixed",
      "kind": "preflight",
      "modes": [
        1,
        2,
        3
      ],
      "limit": 262144,
      "headers": [
        {
          "name": "server",
          "value": "BaseHTTP/0.6 Python/3.12.3"
        },
        {
          "name": "date",
          "value": "Wed, 09 Sep 2026 17:42:25 GMT"
        },
        {
          "name": "content-type",
          "value": "text/plain"
        },
        {
          "name": "x-origin",
          "value": "fixture"
        },
        {
          "name": "etag",
          "value": "\"original\""
        }
      ],
      "config": {
        "body": "transform",
        "replace": "A",
        "find": "secret",
        "mode": 2.0
      }
    },
    {
      "time": 1788975745.1524599,
      "service": "fixture-2",
      "request_id": "cb2c4ce8-ef1c-4d94-aeda-25ca9af188e0",
      "path": "/fixed",
      "kind": "preflight",
      "modes": [
        1,
        2,
        3
      ],
      "limit": 262144,
      "headers": [
        {
          "name": "server",
          "value": "BaseHTTP/0.6 Python/3.12.3"
        },
        {
          "name": "date",
          "value": "Wed, 09 Sep 2026 17:42:25 GMT"
        },
        {
          "name": "content-type",
          "value": "text/plain"
        },
        {
          "name": "x-origin",
          "value": "fixture"
        },
        {
          "name": "etag",
          "value": "\"original\""
        }
      ],
      "config": {
        "body": "transform",
        "replace": "B",
        "find": "A",
        "mode": 3.0
      }
    },
    {
      "time": 1788975745.1537294,
      "service": "fixture-3",
      "request_id": "cb2c4ce8-ef1c-4d94-aeda-25ca9af188e0",
      "path": "/fixed",
      "kind": "preflight",
      "modes": [
        1,
        2,
        3
      ],
      "limit": 262144,
      "headers": [
        {
          "name": "server",
          "value": "BaseHTTP/0.6 Python/3.12.3"
        },
        {
          "name": "date",
          "value": "Wed, 09 Sep 2026 17:42:25 GMT"
        },
        {
          "name": "content-type",
          "value": "text/plain"
        },
        {
          "name": "x-origin",
          "value": "fixture"
        }
      ],
      "config": {
        "body": "transform",
        "replace": "C",
        "find": "B",
        "mode": 2.0
      }
    },
    {
      "time": 1788975745.15451,
      "service": "fixture-1",
      "request_id": "cb2c4ce8-ef1c-4d94-aeda-25ca9af188e0",
      "path": "/fixed",
      "kind": "body",
      "seq": 1,
      "final": true,
      "length": 19,
      "sample": "alpha secret omega\n",
      "sha256": "5db0d32646959fa18ff5f7ba0ebeb4b2eb21a38e8e66465c0ba6f0ec1c28355f"
    },
    {
      "time": 1788975745.1551268,
      "service": "fixture-2",
      "request_id": "cb2c4ce8-ef1c-4d94-aeda-25ca9af188e0",
      "path": "/fixed",
      "kind": "body",
      "seq": 1,
      "final": false,
      "length": 14,
      "sample": "alpha A omega\n",
      "sha256": "fcf34dc7671e35b235235fa24ec59de1ef81217f08a2580a50f7b2f82e63f223"
    },
    {
      "time": 1788975745.1557772,
      "service": "fixture-2",
      "request_id": "cb2c4ce8-ef1c-4d94-aeda-25ca9af188e0",
      "path": "/fixed",
      "kind": "body",
      "seq": 2,
      "final": true,
      "length": 0,
      "sample": "",
      "sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
    },
    {
      "time": 1788975745.1563094,
      "service": "fixture-3",
      "request_id": "cb2c4ce8-ef1c-4d94-aeda-25ca9af188e0",
      "path": "/fixed",
      "kind": "body",
      "seq": 1,
      "final": true,
      "length": 14,
      "sample": "alpha B omega\n",
      "sha256": "5c76bf56fb83713b2a4c6590830e6d727fa41cf461ea011c63892e41df75d182"
    },
    {
      "time": 1788975745.1567602,
      "service": "fixture-1",
      "request_id": "cb2c4ce8-ef1c-4d94-aeda-25ca9af188e0",
      "path": "/fixed",
      "kind": "trailers",
      "trailers": {}
    },
    {
      "time": 1788975745.15739,
      "service": "fixture-2",
      "request_id": "cb2c4ce8-ef1c-4d94-aeda-25ca9af188e0",
      "path": "/fixed",
      "kind": "trailers",
      "trailers": {}
    },
    {
      "time": 1788975745.158073,
      "service": "fixture-3",
      "request_id": "cb2c4ce8-ef1c-4d94-aeda-25ca9af188e0",
      "path": "/fixed",
      "kind": "trailers",
      "trailers": {}
    }
  ]
}
Whole → Stream → Whole200curl 0
PASS
skip-stage-continues-chain
{
  "path": "/slow",
  "stages": [
    {
      "mode": 3,
      "body": "skip_remaining"
    },
    {
      "mode": 3,
      "body": "transform"
    }
  ],
  "checks": {
    "status": true,
    "curl_code": true,
    "body": true
  },
  "response": {
    "status": 200,
    "curl_code": 0,
    "headers": "HTTP/1.1 200 OK\nserver: BaseHTTP/0.6 Python/3.12.3\ndate: Wed, 09 Sep 2026 17:42:26 GMT\ncontent-type: text/plain\nx-origin: fixture\nTransfer-Encoding: chunked\n\n",
    "bytes": 23,
    "sample": "alpha [REDACTED] omega\n"
  },
  "middleware_events": [
    {
      "time": 1788975746.2964303,
      "service": "fixture-1",
      "request_id": "114293d8-d682-483f-9a64-c7be89510f7b",
      "path": "/slow",
      "kind": "preflight",
      "modes": [
        1,
        2,
        3
      ],
      "limit": 262144,
      "headers": [
        {
          "name": "server",
          "value": "BaseHTTP/0.6 Python/3.12.3"
        },
        {
          "name": "date",
          "value": "Wed, 09 Sep 2026 17:42:26 GMT"
        },
        {
          "name": "content-type",
          "value": "text/plain"
        },
        {
          "name": "x-origin",
          "value": "fixture"
        },
        {
          "name": "etag",
          "value": "\"original\""
        }
      ],
      "config": {
        "body": "skip_remaining",
        "mode": 3.0
      }
    },
    {
      "time": 1788975746.2974207,
      "service": "fixture-2",
      "request_id": "114293d8-d682-483f-9a64-c7be89510f7b",
      "path": "/slow",
      "kind": "preflight",
      "modes": [
        1,
        2,
        3
      ],
      "limit": 262144,
      "headers": [
        {
          "name": "server",
          "value": "BaseHTTP/0.6 Python/3.12.3"
        },
        {
          "name": "date",
          "value": "Wed, 09 Sep 2026 17:42:26 GMT"
        },
        {
          "name": "content-type",
          "value": "text/plain"
        },
        {
          "name": "x-origin",
          "value": "fixture"
        }
      ],
      "config": {
        "body": "transform",
        "mode": 3.0
      }
    },
    {
      "time": 1788975746.3009295,
      "service": "fixture-1",
      "request_id": "114293d8-d682-483f-9a64-c7be89510f7b",
      "path": "/slow",
      "kind": "body",
      "seq": 1,
      "final": false,
      "length": 6,
      "sample": "alpha ",
      "sha256": "0bd0509bafa4223a02ad82a903d73ab47b6e5407b0674336534a9f5fc6837d03"
    },
    {
      "time": 1788975746.3018315,
      "service": "fixture-2",
      "request_id": "114293d8-d682-483f-9a64-c7be89510f7b",
      "path": "/slow",
      "kind": "body",
      "seq": 1,
      "final": false,
      "length": 6,
      "sample": "alpha ",
      "sha256": "0bd0509bafa4223a02ad82a903d73ab47b6e5407b0674336534a9f5fc6837d03"
    },
    {
      "time": 1788975746.3591812,
      "service": "fixture-2",
      "request_id": "114293d8-d682-483f-9a64-c7be89510f7b",
      "path": "/slow",
      "kind": "body",
      "seq": 2,
      "final": false,
      "length": 7,
      "sample": "secret ",
      "sha256": "c34f63ae5db1f9d5eff9f174617fd21cfdd8450d22432eac0db334c80c355370"
    },
    {
      "time": 1788975746.416221,
      "service": "fixture-2",
      "request_id": "114293d8-d682-483f-9a64-c7be89510f7b",
      "path": "/slow",
      "kind": "body",
      "seq": 3,
      "final": false,
      "length": 6,
      "sample": "omega\n",
      "sha256": "3eeb0cea8bf176427633a47a62ee8c813844d574d48554a0d715e12dcbbaeda6"
    },
    {
      "time": 1788975746.416884,
      "service": "fixture-2",
      "request_id": "114293d8-d682-483f-9a64-c7be89510f7b",
      "path": "/slow",
      "kind": "body",
      "seq": 4,
      "final": true,
      "length": 0,
      "sample": "",
      "sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
    },
    {
      "time": 1788975746.4175012,
      "service": "fixture-2",
      "request_id": "114293d8-d682-483f-9a64-c7be89510f7b",
      "path": "/slow",
      "kind": "trailers",
      "trailers": {}
    }
  ]
}
Stream → Stream200curl 0
PASS
skip-transform-continues-chain
{
  "path": "/slow",
  "stages": [
    {
      "mode": 3,
      "body": "skip_remaining",
      "skip_transform": true,
      "find": "alpha",
      "replace": "FIRST"
    },
    {
      "mode": 2,
      "body": "transform"
    }
  ],
  "checks": {
    "status": true,
    "curl_code": true,
    "body": true
  },
  "response": {
    "status": 200,
    "curl_code": 0,
    "headers": "HTTP/1.1 200 OK\nserver: BaseHTTP/0.6 Python/3.12.3\ndate: Wed, 09 Sep 2026 17:42:27 GMT\ncontent-type: text/plain\nx-origin: fixture\nContent-Length: 23\n\n",
    "bytes": 23,
    "sample": "FIRST [REDACTED] omega\n"
  },
  "middleware_events": [
    {
      "time": 1788975747.563352,
      "service": "fixture-1",
      "request_id": "5ea3397d-db32-47f9-a8e9-e4a133971926",
      "path": "/slow",
      "kind": "preflight",
      "modes": [
        1,
        2,
        3
      ],
      "limit": 262144,
      "headers": [
        {
          "name": "server",
          "value": "BaseHTTP/0.6 Python/3.12.3"
        },
        {
          "name": "date",
          "value": "Wed, 09 Sep 2026 17:42:27 GMT"
        },
        {
          "name": "content-type",
          "value": "text/plain"
        },
        {
          "name": "x-origin",
          "value": "fixture"
        },
        {
          "name": "etag",
          "value": "\"original\""
        }
      ],
      "config": {
        "skip_transform": true,
        "body": "skip_remaining",
        "replace": "FIRST",
        "find": "alpha",
        "mode": 3.0
      }
    },
    {
      "time": 1788975747.5644083,
      "service": "fixture-2",
      "request_id": "5ea3397d-db32-47f9-a8e9-e4a133971926",
      "path": "/slow",
      "kind": "preflight",
      "modes": [
        1,
        2,
        3
      ],
      "limit": 262144,
      "headers": [
        {
          "name": "server",
          "value": "BaseHTTP/0.6 Python/3.12.3"
        },
        {
          "name": "date",
          "value": "Wed, 09 Sep 2026 17:42:27 GMT"
        },
        {
          "name": "content-type",
          "value": "text/plain"
        },
        {
          "name": "x-origin",
          "value": "fixture"
        }
      ],
      "config": {
        "body": "transform",
        "mode": 2.0
      }
    },
    {
      "time": 1788975747.5677848,
      "service": "fixture-1",
      "request_id": "5ea3397d-db32-47f9-a8e9-e4a133971926",
      "path": "/slow",
      "kind": "body",
      "seq": 1,
      "final": false,
      "length": 6,
      "sample": "alpha ",
      "sha256": "0bd0509bafa4223a02ad82a903d73ab47b6e5407b0674336534a9f5fc6837d03"
    },
    {
      "time": 1788975747.683673,
      "service": "fixture-2",
      "request_id": "5ea3397d-db32-47f9-a8e9-e4a133971926",
      "path": "/slow",
      "kind": "body",
      "seq": 1,
      "final": true,
      "length": 19,
      "sample": "FIRST secret omega\n",
      "sha256": "ab926737e245907b0b8b7a0cc04baddb7f02a5fd138c41fc9a221d4e0751b099"
    },
    {
      "time": 1788975747.6845543,
      "service": "fixture-2",
      "request_id": "5ea3397d-db32-47f9-a8e9-e4a133971926",
      "path": "/slow",
      "kind": "trailers",
      "trailers": {}
    }
  ]
}
Stream → Whole200curl 0
PASS
fail-open-continues-chain
{
  "path": "/slow",
  "stages": [
    {
      "mode": 3,
      "body": "invalid_sequence",
      "on_error": "fail_open"
    },
    {
      "mode": 2,
      "body": "transform"
    }
  ],
  "checks": {
    "status": true,
    "curl_code": true,
    "body": true
  },
  "response": {
    "status": 200,
    "curl_code": 0,
    "headers": "HTTP/1.1 200 OK\nserver: BaseHTTP/0.6 Python/3.12.3\ndate: Wed, 09 Sep 2026 17:42:28 GMT\ncontent-type: text/plain\nx-origin: fixture\nContent-Length: 23\n\n",
    "bytes": 23,
    "sample": "alpha [REDACTED] omega\n"
  },
  "middleware_events": [
    {
      "time": 1788975748.8244226,
      "service": "fixture-1",
      "request_id": "9079d040-e08e-42de-b829-55c8679d1aeb",
      "path": "/slow",
      "kind": "preflight",
      "modes": [
        1,
        2,
        3
      ],
      "limit": 262144,
      "headers": [
        {
          "name": "server",
          "value": "BaseHTTP/0.6 Python/3.12.3"
        },
        {
          "name": "date",
          "value": "Wed, 09 Sep 2026 17:42:28 GMT"
        },
        {
          "name": "content-type",
          "value": "text/plain"
        },
        {
          "name": "x-origin",
          "value": "fixture"
        },
        {
          "name": "etag",
          "value": "\"original\""
        }
      ],
      "config": {
        "body": "invalid_sequence",
        "mode": 3.0
      }
    },
    {
      "time": 1788975748.8256311,
      "service": "fixture-2",
      "request_id": "9079d040-e08e-42de-b829-55c8679d1aeb",
      "path": "/slow",
      "kind": "preflight",
      "modes": [
        1,
        2,
        3
      ],
      "limit": 262144,
      "headers": [
        {
          "name": "server",
          "value": "BaseHTTP/0.6 Python/3.12.3"
        },
        {
          "name": "date",
          "value": "Wed, 09 Sep 2026 17:42:28 GMT"
        },
        {
          "name": "content-type",
          "value": "text/plain"
        },
        {
          "name": "x-origin",
          "value": "fixture"
        }
      ],
      "config": {
        "body": "transform",
        "mode": 2.0
      }
    },
    {
      "time": 1788975748.8285992,
      "service": "fixture-1",
      "request_id": "9079d040-e08e-42de-b829-55c8679d1aeb",
      "path": "/slow",
      "kind": "body",
      "seq": 1,
      "final": false,
      "length": 6,
      "sample": "alpha ",
      "sha256": "0bd0509bafa4223a02ad82a903d73ab47b6e5407b0674336534a9f5fc6837d03"
    },
    {
      "time": 1788975748.9450057,
      "service": "fixture-2",
      "request_id": "9079d040-e08e-42de-b829-55c8679d1aeb",
      "path": "/slow",
      "kind": "body",
      "seq": 1,
      "final": true,
      "length": 19,
      "sample": "alpha secret omega\n",
      "sha256": "5db0d32646959fa18ff5f7ba0ebeb4b2eb21a38e8e66465c0ba6f0ec1c28355f"
    },
    {
      "time": 1788975748.9459825,
      "service": "fixture-2",
      "request_id": "9079d040-e08e-42de-b829-55c8679d1aeb",
      "path": "/slow",
      "kind": "trailers",
      "trailers": {}
    }
  ]
}
Stream → Whole200curl 0
PASS
block-overrides-fail-open
{
  "path": "/fixed",
  "stages": [
    {
      "mode": 2,
      "body": "block_delivery",
      "on_error": "fail_open"
    },
    {
      "mode": 2
    }
  ],
  "checks": {
    "status": true,
    "curl_code": true,
    "canonical_error": true
  },
  "response": {
    "status": 403,
    "curl_code": 0,
    "headers": "HTTP/1.1 403 Forbidden\nContent-Type: application/json\nContent-Length: 267\nX-OpenShell-Policy: upstream\nConnection: close\n\n",
    "bytes": 267,
    "sample": "{\"detail\":\"Response blocked by configured middleware\",\"error\":\"middleware_denied\",\"host\":\"host.openshell.internal\",\"layer\":\"http_response_pre_return\","
  },
  "middleware_events": [
    {
      "time": 1788975750.088711,
      "service": "fixture-1",
      "request_id": "29f4f0e9-db15-4dbb-b8fa-a64db02191d5",
      "path": "/fixed",
      "kind": "preflight",
      "modes": [
        1,
        2,
        3
      ],
      "limit": 262144,
      "headers": [
        {
          "name": "server",
          "value": "BaseHTTP/0.6 Python/3.12.3"
        },
        {
          "name": "date",
          "value": "Wed, 09 Sep 2026 17:42:30 GMT"
        },
        {
          "name": "content-type",
          "value": "text/plain"
        },
        {
          "name": "x-origin",
          "value": "fixture"
        },
        {
          "name": "etag",
          "value": "\"original\""
        }
      ],
      "config": {
        "body": "block_delivery",
        "mode": 2.0
      }
    },
    {
      "time": 1788975750.0899065,
      "service": "fixture-2",
      "request_id": "29f4f0e9-db15-4dbb-b8fa-a64db02191d5",
      "path": "/fixed",
      "kind": "preflight",
      "modes": [
        1,
        2,
        3
      ],
      "limit": 262144,
      "headers": [
        {
          "name": "server",
          "value": "BaseHTTP/0.6 Python/3.12.3"
        },
        {
          "name": "date",
          "value": "Wed, 09 Sep 2026 17:42:30 GMT"
        },
        {
          "name": "content-type",
          "value": "text/plain"
        },
        {
          "name": "x-origin",
          "value": "fixture"
        },
        {
          "name": "etag",
          "value": "\"original\""
        }
      ],
      "config": {
        "mode": 2.0
      }
    },
    {
      "time": 1788975750.0908842,
      "service": "fixture-1",
      "request_id": "29f4f0e9-db15-4dbb-b8fa-a64db02191d5",
      "path": "/fixed",
      "kind": "body",
      "seq": 1,
      "final": true,
      "length": 19,
      "sample": "alpha secret omega\n",
      "sha256": "5db0d32646959fa18ff5f7ba0ebeb4b2eb21a38e8e66465c0ba6f0ec1c28355f"
    }
  ]
}
Whole → Whole403curl 0
PASS
stream-then-whole-block
{
  "path": "/slow",
  "stages": [
    {
      "mode": 3
    },
    {
      "mode": 2,
      "body": "block_delivery"
    }
  ],
  "checks": {
    "status": true,
    "curl_code": true,
    "canonical_error": true
  },
  "response": {
    "status": 403,
    "curl_code": 0,
    "headers": "HTTP/1.1 403 Forbidden\nContent-Type: application/json\nContent-Length: 266\nX-OpenShell-Policy: upstream\nConnection: close\n\n",
    "bytes": 266,
    "sample": "{\"detail\":\"Response blocked by configured middleware\",\"error\":\"middleware_denied\",\"host\":\"host.openshell.internal\",\"layer\":\"http_response_pre_return\","
  },
  "middleware_events": [
    {
      "time": 1788975751.2259672,
      "service": "fixture-1",
      "request_id": "413f5792-168a-44ef-b461-f222aba2016c",
      "path": "/slow",
      "kind": "preflight",
      "modes": [
        1,
        2,
        3
      ],
      "limit": 262144,
      "headers": [
        {
          "name": "server",
          "value": "BaseHTTP/0.6 Python/3.12.3"
        },
        {
          "name": "date",
          "value": "Wed, 09 Sep 2026 17:42:31 GMT"
        },
        {
          "name": "content-type",
          "value": "text/plain"
        },
        {
          "name": "x-origin",
          "value": "fixture"
        },
        {
          "name": "etag",
          "value": "\"original\""
        }
      ],
      "config": {
        "mode": 3.0
      }
    },
    {
      "time": 1788975751.2270648,
      "service": "fixture-2",
      "request_id": "413f5792-168a-44ef-b461-f222aba2016c",
      "path": "/slow",
      "kind": "preflight",
      "modes": [
        1,
        2,
        3
      ],
      "limit": 262144,
      "headers": [
        {
          "name": "server",
          "value": "BaseHTTP/0.6 Python/3.12.3"
        },
        {
          "name": "date",
          "value": "Wed, 09 Sep 2026 17:42:31 GMT"
        },
        {
          "name": "content-type",
          "value": "text/plain"
        },
        {
          "name": "x-origin",
          "value": "fixture"
        }
      ],
      "config": {
        "body": "block_delivery",
        "mode": 2.0
      }
    },
    {
      "time": 1788975751.2308805,
      "service": "fixture-1",
      "request_id": "413f5792-168a-44ef-b461-f222aba2016c",
      "path": "/slow",
      "kind": "body",
      "seq": 1,
      "final": false,
      "length": 6,
      "sample": "alpha ",
      "sha256": "0bd0509bafa4223a02ad82a903d73ab47b6e5407b0674336534a9f5fc6837d03"
    },
    {
      "time": 1788975751.2888334,
      "service": "fixture-1",
      "request_id": "413f5792-168a-44ef-b461-f222aba2016c",
      "path": "/slow",
      "kind": "body",
      "seq": 2,
      "final": false,
      "length": 7,
      "sample": "secret ",
      "sha256": "c34f63ae5db1f9d5eff9f174617fd21cfdd8450d22432eac0db334c80c355370"
    },
    {
      "time": 1788975751.3459795,
      "service": "fixture-1",
      "request_id": "413f5792-168a-44ef-b461-f222aba2016c",
      "path": "/slow",
      "kind": "body",
      "seq": 3,
      "final": false,
      "length": 6,
      "sample": "omega\n",
      "sha256": "3eeb0cea8bf176427633a47a62ee8c813844d574d48554a0d715e12dcbbaeda6"
    },
    {
      "time": 1788975751.3467925,
      "service": "fixture-1",
      "request_id": "413f5792-168a-44ef-b461-f222aba2016c",
      "path": "/slow",
      "kind": "body",
      "seq": 4,
      "final": true,
      "length": 0,
      "sample": "",
      "sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
    },
    {
      "time": 1788975751.347519,
      "service": "fixture-2",
      "request_id": "413f5792-168a-44ef-b461-f222aba2016c",
      "path": "/slow",
      "kind": "body",
      "seq": 1,
      "final": true,
      "length": 19,
      "sample": "alpha secret omega\n",
      "sha256": "5db0d32646959fa18ff5f7ba0ebeb4b2eb21a38e8e66465c0ba6f0ec1c28355f"
    }
  ]
}
Stream → Whole403curl 0
PASS
whole-then-stream-block
{
  "path": "/slow",
  "stages": [
    {
      "mode": 2
    },
    {
      "mode": 3,
      "body": "block_delivery"
    }
  ],
  "checks": {
    "status": true,
    "curl_code": true,
    "canonical_error": true
  },
  "response": {
    "status": 403,
    "curl_code": 0,
    "headers": "HTTP/1.1 403 Forbidden\nContent-Type: application/json\nContent-Length: 266\nX-OpenShell-Policy: upstream\nConnection: close\n\n",
    "bytes": 266,
    "sample": "{\"detail\":\"Response blocked by configured middleware\",\"error\":\"middleware_denied\",\"host\":\"host.openshell.internal\",\"layer\":\"http_response_pre_return\","
  },
  "middleware_events": [
    {
      "time": 1788975752.5026987,
      "service": "fixture-1",
      "request_id": "cb56c9ad-5aed-4c21-a90c-443148f2aef9",
      "path": "/slow",
      "kind": "preflight",
      "modes": [
        1,
        2,
        3
      ],
      "limit": 262144,
      "headers": [
        {
          "name": "server",
          "value": "BaseHTTP/0.6 Python/3.12.3"
        },
        {
          "name": "date",
          "value": "Wed, 09 Sep 2026 17:42:32 GMT"
        },
        {
          "name": "content-type",
          "value": "text/plain"
        },
        {
          "name": "x-origin",
          "value": "fixture"
        },
        {
          "name": "etag",
          "value": "\"original\""
        }
      ],
      "config": {
        "mode": 2.0
      }
    },
    {
      "time": 1788975752.5032318,
      "service": "fixture-2",
      "request_id": "cb56c9ad-5aed-4c21-a90c-443148f2aef9",
      "path": "/slow",
      "kind": "preflight",
      "modes": [
        1,
        2,
        3
      ],
      "limit": 262144,
      "headers": [
        {
          "name": "server",
          "value": "BaseHTTP/0.6 Python/3.12.3"
        },
        {
          "name": "date",
          "value": "Wed, 09 Sep 2026 17:42:32 GMT"
        },
        {
          "name": "content-type",
          "value": "text/plain"
        },
        {
          "name": "x-origin",
          "value": "fixture"
        },
        {
          "name": "etag",
          "value": "\"original\""
        }
      ],
      "config": {
        "body": "block_delivery",
        "mode": 3.0
      }
    },
    {
      "time": 1788975752.623117,
      "service": "fixture-1",
      "request_id": "cb56c9ad-5aed-4c21-a90c-443148f2aef9",
      "path": "/slow",
      "kind": "body",
      "seq": 1,
      "final": true,
      "length": 19,
      "sample": "alpha secret omega\n",
      "sha256": "5db0d32646959fa18ff5f7ba0ebeb4b2eb21a38e8e66465c0ba6f0ec1c28355f"
    },
    {
      "time": 1788975752.624018,
      "service": "fixture-2",
      "request_id": "cb56c9ad-5aed-4c21-a90c-443148f2aef9",
      "path": "/slow",
      "kind": "body",
      "seq": 1,
      "final": false,
      "length": 19,
      "sample": "alpha secret omega\n",
      "sha256": "5db0d32646959fa18ff5f7ba0ebeb4b2eb21a38e8e66465c0ba6f0ec1c28355f"
    }
  ]
}
Whole → Stream403curl 0
PASS
late-stream-block
{
  "path": "/slow",
  "stages": [
    {
      "mode": 3,
      "body": "block_delivery",
      "block_seq": 2
    }
  ],
  "checks": {
    "status": true,
    "curl_code": true,
    "body": true
  },
  "response": {
    "status": 200,
    "curl_code": 18,
    "headers": "HTTP/1.1 200 OK\nserver: BaseHTTP/0.6 Python/3.12.3\ndate: Wed, 09 Sep 2026 17:42:33 GMT\ncontent-type: text/plain\nx-origin: fixture\nTransfer-Encoding: chunked\n\n",
    "bytes": 6,
    "sample": "alpha "
  },
  "middleware_events": [
    {
      "time": 1788975753.772283,
      "service": "fixture-1",
      "request_id": "79fae82f-578e-4cfc-a130-d8022fd0e4a2",
      "path": "/slow",
      "kind": "preflight",
      "modes": [
        1,
        2,
        3
      ],
      "limit": 262144,
      "headers": [
        {
          "name": "server",
          "value": "BaseHTTP/0.6 Python/3.12.3"
        },
        {
          "name": "date",
          "value": "Wed, 09 Sep 2026 17:42:33 GMT"
        },
        {
          "name": "content-type",
          "value": "text/plain"
        },
        {
          "name": "x-origin",
          "value": "fixture"
        },
        {
          "name": "etag",
          "value": "\"original\""
        }
      ],
      "config": {
        "body": "block_delivery",
        "block_seq": 2.0,
        "mode": 3.0
      }
    },
    {
      "time": 1788975753.7766051,
      "service": "fixture-1",
      "request_id": "79fae82f-578e-4cfc-a130-d8022fd0e4a2",
      "path": "/slow",
      "kind": "body",
      "seq": 1,
      "final": false,
      "length": 6,
      "sample": "alpha ",
      "sha256": "0bd0509bafa4223a02ad82a903d73ab47b6e5407b0674336534a9f5fc6837d03"
    },
    {
      "time": 1788975753.8349981,
      "service": "fixture-1",
      "request_id": "79fae82f-578e-4cfc-a130-d8022fd0e4a2",
      "path": "/slow",
      "kind": "body",
      "seq": 2,
      "final": false,
      "length": 7,
      "sample": "secret ",
      "sha256": "c34f63ae5db1f9d5eff9f174617fd21cfdd8450d22432eac0db334c80c355370"
    }
  ]
}
Stream200curl 18
PASS
stream-split-token
{
  "path": "/split",
  "stages": [
    {
      "mode": 3,
      "body": "transform"
    }
  ],
  "checks": {
    "status": true,
    "curl_code": true,
    "body": true
  },
  "response": {
    "status": 200,
    "curl_code": 0,
    "headers": "HTTP/1.1 200 OK\nserver: BaseHTTP/0.6 Python/3.12.3\ndate: Wed, 09 Sep 2026 17:42:34 GMT\ncontent-type: text/plain\nx-origin: fixture\nTransfer-Encoding: chunked\n\n",
    "bytes": 6,
    "sample": "secret"
  },
  "middleware_events": [
    {
      "time": 1788975754.9727824,
      "service": "fixture-1",
      "request_id": "f2e5006b-1157-4d99-9c58-6c3eb94d58ed",
      "path": "/split",
      "kind": "preflight",
      "modes": [
        1,
        2,
        3
      ],
      "limit": 262144,
      "headers": [
        {
          "name": "server",
          "value": "BaseHTTP/0.6 Python/3.12.3"
        },
        {
          "name": "date",
          "value": "Wed, 09 Sep 2026 17:42:34 GMT"
        },
        {
          "name": "content-type",
          "value": "text/plain"
        },
        {
          "name": "x-origin",
          "value": "fixture"
        },
        {
          "name": "etag",
          "value": "\"original\""
        }
      ],
      "config": {
        "body": "transform",
        "mode": 3.0
      }
    },
    {
      "time": 1788975754.9768002,
      "service": "fixture-1",
      "request_id": "f2e5006b-1157-4d99-9c58-6c3eb94d58ed",
      "path": "/split",
      "kind": "body",
      "seq": 1,
      "final": false,
      "length": 3,
      "sample": "sec",
      "sha256": "add93534eeb463800fe0ed0946048d33636dd2a014fab92e8a37f77ce98c740b"
    },
    {
      "time": 1788975755.0321946,
      "service": "fixture-1",
      "request_id": "f2e5006b-1157-4d99-9c58-6c3eb94d58ed",
      "path": "/split",
      "kind": "body",
      "seq": 2,
      "final": false,
      "length": 3,
      "sample": "ret",
      "sha256": "85e4aea19de2d285c91b909a8dcd3d895ad511f5c888998471db1734c996c1ee"
    },
    {
      "time": 1788975755.0330958,
      "service": "fixture-1",
      "request_id": "f2e5006b-1157-4d99-9c58-6c3eb94d58ed",
      "path": "/split",
      "kind": "body",
      "seq": 3,
      "final": true,
      "length": 0,
      "sample": "",
      "sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
    },
    {
      "time": 1788975755.0341413,
      "service": "fixture-1",
      "request_id": "f2e5006b-1157-4d99-9c58-6c3eb94d58ed",
      "path": "/split",
      "kind": "trailers",
      "trailers": {}
    }
  ]
}
Stream200curl 0
PASS
whole-split-token
{
  "path": "/split",
  "stages": [
    {
      "mode": 2,
      "body": "transform"
    }
  ],
  "checks": {
    "status": true,
    "curl_code": true,
    "body": true
  },
  "response": {
    "status": 200,
    "curl_code": 0,
    "headers": "HTTP/1.1 200 OK\nserver: BaseHTTP/0.6 Python/3.12.3\ndate: Wed, 09 Sep 2026 17:42:36 GMT\ncontent-type: text/plain\nx-origin: fixture\nContent-Length: 10\n\n",
    "bytes": 10,
    "sample": "[REDACTED]"
  },
  "middleware_events": [
    {
      "time": 1788975756.175529,
      "service": "fixture-1",
      "request_id": "cd66e99e-029f-4d97-a28a-cdf9cb81b431",
      "path": "/split",
      "kind": "preflight",
      "modes": [
        1,
        2,
        3
      ],
      "limit": 262144,
      "headers": [
        {
          "name": "server",
          "value": "BaseHTTP/0.6 Python/3.12.3"
        },
        {
          "name": "date",
          "value": "Wed, 09 Sep 2026 17:42:36 GMT"
        },
        {
          "name": "content-type",
          "value": "text/plain"
        },
        {
          "name": "x-origin",
          "value": "fixture"
        },
        {
          "name": "etag",
          "value": "\"original\""
        }
      ],
      "config": {
        "body": "transform",
        "mode": 2.0
      }
    },
    {
      "time": 1788975756.2369819,
      "service": "fixture-1",
      "request_id": "cd66e99e-029f-4d97-a28a-cdf9cb81b431",
      "path": "/split",
      "kind": "body",
      "seq": 1,
      "final": true,
      "length": 6,
      "sample": "secret",
      "sha256": "2bb80d537b1da3e38bd30361aa855686bde0eacd7162fef6a25fe97bf527a25b"
    },
    {
      "time": 1788975756.2377884,
      "service": "fixture-1",
      "request_id": "cd66e99e-029f-4d97-a28a-cdf9cb81b431",
      "path": "/split",
      "kind": "trailers",
      "trailers": {}
    }
  ]
}
Whole200curl 0
PASS
empty-2
{
  "path": "/empty",
  "stages": [
    {
      "mode": 2
    }
  ],
  "checks": {
    "status": true,
    "curl_code": true,
    "body": true
  },
  "response": {
    "status": 200,
    "curl_code": 0,
    "headers": "HTTP/1.1 200 OK\nserver: BaseHTTP/0.6 Python/3.12.3\ndate: Wed, 09 Sep 2026 17:42:37 GMT\ncontent-type: text/plain\nx-origin: fixture\netag: \"original\"\nContent-Length: 0\n\n",
    "bytes": 0,
    "sample": ""
  },
  "middleware_events": [
    {
      "time": 1788975757.3839145,
      "service": "fixture-1",
      "request_id": "f65f0dc6-2f0a-4396-b142-86b673a23455",
      "path": "/empty",
      "kind": "preflight",
      "modes": [
        1,
        2,
        3
      ],
      "limit": 262144,
      "headers": [
        {
          "name": "server",
          "value": "BaseHTTP/0.6 Python/3.12.3"
        },
        {
          "name": "date",
          "value": "Wed, 09 Sep 2026 17:42:37 GMT"
        },
        {
          "name": "content-type",
          "value": "text/plain"
        },
        {
          "name": "x-origin",
          "value": "fixture"
        },
        {
          "name": "etag",
          "value": "\"original\""
        }
      ],
      "config": {
        "mode": 2.0
      }
    },
    {
      "time": 1788975757.3845453,
      "service": "fixture-1",
      "request_id": "f65f0dc6-2f0a-4396-b142-86b673a23455",
      "path": "/empty",
      "kind": "body",
      "seq": 1,
      "final": true,
      "length": 0,
      "sample": "",
      "sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
    },
    {
      "time": 1788975757.3850455,
      "service": "fixture-1",
      "request_id": "f65f0dc6-2f0a-4396-b142-86b673a23455",
      "path": "/empty",
      "kind": "trailers",
      "trailers": {}
    }
  ]
}
Whole200curl 0
PASS
trailers-2
{
  "path": "/trailers",
  "stages": [
    {
      "mode": 2,
      "trailer": true
    }
  ],
  "checks": {
    "status": true,
    "curl_code": true,
    "body": true,
    "header": true
  },
  "response": {
    "status": 200,
    "curl_code": 0,
    "headers": "HTTP/1.1 200 OK\nserver: BaseHTTP/0.6 Python/3.12.3\ndate: Wed, 09 Sep 2026 17:42:38 GMT\ncontent-type: text/plain\nx-origin: fixture\netag: \"original\"\nTransfer-Encoding: chunked\nTrailer: x-check\n\nx-check: changed\n",
    "bytes": 19,
    "sample": "alpha secret omega\n"
  },
  "middleware_events": [
    {
      "time": 1788975758.5237296,
      "service": "fixture-1",
      "request_id": "961ba073-1210-471c-a83c-12acba2a83fc",
      "path": "/trailers",
      "kind": "preflight",
      "modes": [
        1,
        2,
        3
      ],
      "limit": 262144,
      "headers": [
        {
          "name": "server",
          "value": "BaseHTTP/0.6 Python/3.12.3"
        },
        {
          "name": "date",
          "value": "Wed, 09 Sep 2026 17:42:38 GMT"
        },
        {
          "name": "content-type",
          "value": "text/plain"
        },
        {
          "name": "x-origin",
          "value": "fixture"
        },
        {
          "name": "etag",
          "value": "\"original\""
        }
      ],
      "config": {
        "mode": 2.0,
        "trailer": true
      }
    },
    {
      "time": 1788975758.5244153,
      "service": "fixture-1",
      "request_id": "961ba073-1210-471c-a83c-12acba2a83fc",
      "path": "/trailers",
      "kind": "body",
      "seq": 1,
      "final": true,
      "length": 19,
      "sample": "alpha secret omega\n",
      "sha256": "5db0d32646959fa18ff5f7ba0ebeb4b2eb21a38e8e66465c0ba6f0ec1c28355f"
    },
    {
      "time": 1788975758.5250382,
      "service": "fixture-1",
      "request_id": "961ba073-1210-471c-a83c-12acba2a83fc",
      "path": "/trailers",
      "kind": "trailers",
      "trailers": {
        "headers": [
          {
            "name": "x-check",
            "value": "original"
          }
        ]
      }
    }
  ]
}
Whole200curl 0
PASS
empty-3
{
  "path": "/empty",
  "stages": [
    {
      "mode": 3
    }
  ],
  "checks": {
    "status": true,
    "curl_code": true,
    "body": true
  },
  "response": {
    "status": 200,
    "curl_code": 0,
    "headers": "HTTP/1.1 200 OK\nserver: BaseHTTP/0.6 Python/3.12.3\ndate: Wed, 09 Sep 2026 17:42:39 GMT\ncontent-type: text/plain\nx-origin: fixture\nTransfer-Encoding: chunked\n\n",
    "bytes": 0,
    "sample": ""
  },
  "middleware_events": [
    {
      "time": 1788975759.6464143,
      "service": "fixture-1",
      "request_id": "b0f34f8e-574b-41ac-a6d7-456d43a3a4dd",
      "path": "/empty",
      "kind": "preflight",
      "modes": [
        1,
        2,
        3
      ],
      "limit": 262144,
      "headers": [
        {
          "name": "server",
          "value": "BaseHTTP/0.6 Python/3.12.3"
        },
        {
          "name": "date",
          "value": "Wed, 09 Sep 2026 17:42:39 GMT"
        },
        {
          "name": "content-type",
          "value": "text/plain"
        },
        {
          "name": "x-origin",
          "value": "fixture"
        },
        {
          "name": "etag",
          "value": "\"original\""
        }
      ],
      "config": {
        "mode": 3.0
      }
    },
    {
      "time": 1788975759.6470034,
      "service": "fixture-1",
      "request_id": "b0f34f8e-574b-41ac-a6d7-456d43a3a4dd",
      "path": "/empty",
      "kind": "body",
      "seq": 1,
      "final": true,
      "length": 0,
      "sample": "",
      "sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
    },
    {
      "time": 1788975759.6472259,
      "service": "fixture-1",
      "request_id": "b0f34f8e-574b-41ac-a6d7-456d43a3a4dd",
      "path": "/empty",
      "kind": "trailers",
      "trailers": {}
    }
  ]
}
Stream200curl 0
PASS
trailers-3
{
  "path": "/trailers",
  "stages": [
    {
      "mode": 3,
      "trailer": true
    }
  ],
  "checks": {
    "status": true,
    "curl_code": true,
    "body": true,
    "header": true
  },
  "response": {
    "status": 200,
    "curl_code": 0,
    "headers": "HTTP/1.1 200 OK\nserver: BaseHTTP/0.6 Python/3.12.3\ndate: Wed, 09 Sep 2026 17:42:40 GMT\ncontent-type: text/plain\nx-origin: fixture\nTransfer-Encoding: chunked\nTrailer: x-check\n\nx-check: changed\n",
    "bytes": 19,
    "sample": "alpha secret omega\n"
  },
  "middleware_events": [
    {
      "time": 1788975760.7928057,
      "service": "fixture-1",
      "request_id": "9f722b07-88b9-4d35-b04a-43efa3f4bbea",
      "path": "/trailers",
      "kind": "preflight",
      "modes": [
        1,
        2,
        3
      ],
      "limit": 262144,
      "headers": [
        {
          "name": "server",
          "value": "BaseHTTP/0.6 Python/3.12.3"
        },
        {
          "name": "date",
          "value": "Wed, 09 Sep 2026 17:42:40 GMT"
        },
        {
          "name": "content-type",
          "value": "text/plain"
        },
        {
          "name": "x-origin",
          "value": "fixture"
        },
        {
          "name": "etag",
          "value": "\"original\""
        }
      ],
      "config": {
        "mode": 3.0,
        "trailer": true
      }
    },
    {
      "time": 1788975760.7933319,
      "service": "fixture-1",
      "request_id": "9f722b07-88b9-4d35-b04a-43efa3f4bbea",
      "path": "/trailers",
      "kind": "body",
      "seq": 1,
      "final": false,
      "length": 19,
      "sample": "alpha secret omega\n",
      "sha256": "5db0d32646959fa18ff5f7ba0ebeb4b2eb21a38e8e66465c0ba6f0ec1c28355f"
    },
    {
      "time": 1788975760.7938678,
      "service": "fixture-1",
      "request_id": "9f722b07-88b9-4d35-b04a-43efa3f4bbea",
      "path": "/trailers",
      "kind": "body",
      "seq": 2,
      "final": true,
      "length": 0,
      "sample": "",
      "sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
    },
    {
      "time": 1788975760.7940936,
      "service": "fixture-1",
      "request_id": "9f722b07-88b9-4d35-b04a-43efa3f4bbea",
      "path": "/trailers",
      "kind": "trailers",
      "trailers": {
        "headers": [
          {
            "name": "x-check",
            "value": "original"
          }
        ]
      }
    }
  ]
}
Stream200curl 0
PASS
headers-only-bodyless
{
  "path": "/bodyless",
  "stages": [
    {
      "mode": 1
    }
  ],
  "checks": {
    "status": true,
    "curl_code": true,
    "body": true,
    "modes": true
  },
  "response": {
    "status": 204,
    "curl_code": 0,
    "headers": "HTTP/1.1 204 No Content\nServer: BaseHTTP/0.6 Python/3.12.3\nDate: Wed, 09 Sep 2026 17:42:41 GMT\nContent-Type: text/plain\nX-Origin: fixture\nETag: \"original\"\nContent-Length: 0\n\n",
    "bytes": 0,
    "sample": ""
  },
  "middleware_events": [
    {
      "time": 1788975761.9364915,
      "service": "fixture-1",
      "request_id": "7748e3ec-4f1f-4766-bf1c-77db2bae206c",
      "path": "/bodyless",
      "kind": "preflight",
      "modes": [
        1
      ],
      "limit": 262144,
      "headers": [
        {
          "name": "server",
          "value": "BaseHTTP/0.6 Python/3.12.3"
        },
        {
          "name": "date",
          "value": "Wed, 09 Sep 2026 17:42:41 GMT"
        },
        {
          "name": "content-type",
          "value": "text/plain"
        },
        {
          "name": "x-origin",
          "value": "fixture"
        },
        {
          "name": "etag",
          "value": "\"original\""
        }
      ],
      "config": {
        "mode": 1.0
      }
    }
  ]
}
Headers204curl 0
PASS
illegal-whole-bodyless
{
  "path": "/bodyless",
  "stages": [
    {
      "mode": 2
    }
  ],
  "checks": {
    "status": true,
    "curl_code": true,
    "canonical_error": true
  },
  "response": {
    "status": 502,
    "curl_code": 0,
    "headers": "HTTP/1.1 502 Bad Gateway\nContent-Type: application/json\nContent-Length: 312\nX-OpenShell-Policy: upstream\nConnection: close\n\n",
    "bytes": 312,
    "sample": "{\"detail\":\"The upstream request may have completed, but OpenShell could not deliver its response. Retrying may repeat upstream side effects.\",\"error\":"
  },
  "middleware_events": [
    {
      "time": 1788975763.085676,
      "service": "fixture-1",
      "request_id": "5f74f6d4-d087-4e84-9311-59d2250725b6",
      "path": "/bodyless",
      "kind": "preflight",
      "modes": [
        1
      ],
      "limit": 262144,
      "headers": [
        {
          "name": "server",
          "value": "BaseHTTP/0.6 Python/3.12.3"
        },
        {
          "name": "date",
          "value": "Wed, 09 Sep 2026 17:42:43 GMT"
        },
        {
          "name": "content-type",
          "value": "text/plain"
        },
        {
          "name": "x-origin",
          "value": "fixture"
        },
        {
          "name": "etag",
          "value": "\"original\""
        }
      ],
      "config": {
        "mode": 2.0
      }
    }
  ]
}
Whole502curl 0
PASS
headers-only-range
{
  "path": "/range",
  "stages": [
    {
      "mode": 1
    }
  ],
  "checks": {
    "status": true,
    "curl_code": true,
    "modes": true
  },
  "response": {
    "status": 206,
    "curl_code": 0,
    "headers": "HTTP/1.1 206 Partial Content\nServer: BaseHTTP/0.6 Python/3.12.3\nDate: Wed, 09 Sep 2026 17:42:44 GMT\nContent-Type: text/plain\nX-Origin: fixture\nETag: \"original\"\nContent-Range: bytes 0-17/18\nContent-Length: 19\n\n",
    "bytes": 19,
    "sample": "alpha secret omega\n"
  },
  "middleware_events": [
    {
      "time": 1788975764.2363958,
      "service": "fixture-1",
      "request_id": "e7065bdb-7aa4-466c-9f86-193e4b6e4bcc",
      "path": "/range",
      "kind": "preflight",
      "modes": [
        1
      ],
      "limit": 262144,
      "headers": [
        {
          "name": "server",
          "value": "BaseHTTP/0.6 Python/3.12.3"
        },
        {
          "name": "date",
          "value": "Wed, 09 Sep 2026 17:42:44 GMT"
        },
        {
          "name": "content-type",
          "value": "text/plain"
        },
        {
          "name": "x-origin",
          "value": "fixture"
        },
        {
          "name": "etag",
          "value": "\"original\""
        },
        {
          "name": "content-range",
          "value": "bytes 0-17/18"
        }
      ],
      "config": {
        "mode": 1.0
      }
    }
  ]
}
Headers206curl 0
PASS
illegal-whole-range
{
  "path": "/range",
  "stages": [
    {
      "mode": 2
    }
  ],
  "checks": {
    "status": true,
    "curl_code": true,
    "canonical_error": true
  },
  "response": {
    "status": 502,
    "curl_code": 0,
    "headers": "HTTP/1.1 502 Bad Gateway\nContent-Type: application/json\nContent-Length: 309\nX-OpenShell-Policy: upstream\nConnection: close\n\n",
    "bytes": 309,
    "sample": "{\"detail\":\"The upstream request may have completed, but OpenShell could not deliver its response. Retrying may repeat upstream side effects.\",\"error\":"
  },
  "middleware_events": [
    {
      "time": 1788975765.3805008,
      "service": "fixture-1",
      "request_id": "27bd9c7a-1e7e-4cd7-81dd-e9cfab887f99",
      "path": "/range",
      "kind": "preflight",
      "modes": [
        1
      ],
      "limit": 262144,
      "headers": [
        {
          "name": "server",
          "value": "BaseHTTP/0.6 Python/3.12.3"
        },
        {
          "name": "date",
          "value": "Wed, 09 Sep 2026 17:42:45 GMT"
        },
        {
          "name": "content-type",
          "value": "text/plain"
        },
        {
          "name": "x-origin",
          "value": "fixture"
        },
        {
          "name": "etag",
          "value": "\"original\""
        },
        {
          "name": "content-range",
          "value": "bytes 0-17/18"
        }
      ],
      "config": {
        "mode": 2.0
      }
    }
  ]
}
Whole502curl 0
PASS
headers-only-encoded
{
  "path": "/encoded",
  "stages": [
    {
      "mode": 1
    }
  ],
  "checks": {
    "status": true,
    "curl_code": true,
    "modes": true
  },
  "response": {
    "status": 200,
    "curl_code": 0,
    "headers": "HTTP/1.1 200 OK\nServer: BaseHTTP/0.6 Python/3.12.3\nDate: Wed, 09 Sep 2026 17:42:46 GMT\nContent-Type: text/plain\nX-Origin: fixture\nETag: \"original\"\nContent-Encoding: gzip\nContent-Length: 39\n\n",
    "bytes": 39,
    "sample": "\u001f\ufffd\b\u0000\ufffd\ufffd\ufffdj\u0002\ufffdK\ufffd)\ufffdHT(NM.J-Q\ufffd\ufffdMMO\ufffd\u0002\u0000\ufffd\ufffdV\ufffd\u0013\u0000\u0000\u0000"
  },
  "middleware_events": [
    {
      "time": 1788975766.5267358,
      "service": "fixture-1",
      "request_id": "6e7b218b-2176-47f6-a763-c2412f572da7",
      "path": "/encoded",
      "kind": "preflight",
      "modes": [
        1
      ],
      "limit": 262144,
      "headers": [
        {
          "name": "server",
          "value": "BaseHTTP/0.6 Python/3.12.3"
        },
        {
          "name": "date",
          "value": "Wed, 09 Sep 2026 17:42:46 GMT"
        },
        {
          "name": "content-type",
          "value": "text/plain"
        },
        {
          "name": "x-origin",
          "value": "fixture"
        },
        {
          "name": "etag",
          "value": "\"original\""
        },
        {
          "name": "content-encoding",
          "value": "gzip"
        }
      ],
      "config": {
        "mode": 1.0
      }
    }
  ]
}
Headers200curl 0
PASS
illegal-whole-encoded
{
  "path": "/encoded",
  "stages": [
    {
      "mode": 2
    }
  ],
  "checks": {
    "status": true,
    "curl_code": true,
    "canonical_error": true
  },
  "response": {
    "status": 502,
    "curl_code": 0,
    "headers": "HTTP/1.1 502 Bad Gateway\nContent-Type: application/json\nContent-Length: 311\nX-OpenShell-Policy: upstream\nConnection: close\n\n",
    "bytes": 311,
    "sample": "{\"detail\":\"The upstream request may have completed, but OpenShell could not deliver its response. Retrying may repeat upstream side effects.\",\"error\":"
  },
  "middleware_events": [
    {
      "time": 1788975767.6687253,
      "service": "fixture-1",
      "request_id": "eb160188-9b35-4d6a-a4f4-89bcb79f3f1a",
      "path": "/encoded",
      "kind": "preflight",
      "modes": [
        1
      ],
      "limit": 262144,
      "headers": [
        {
          "name": "server",
          "value": "BaseHTTP/0.6 Python/3.12.3"
        },
        {
          "name": "date",
          "value": "Wed, 09 Sep 2026 17:42:47 GMT"
        },
        {
          "name": "content-type",
          "value": "text/plain"
        },
        {
          "name": "x-origin",
          "value": "fixture"
        },
        {
          "name": "etag",
          "value": "\"original\""
        },
        {
          "name": "content-encoding",
          "value": "gzip"
        }
      ],
      "config": {
        "mode": 2.0
      }
    }
  ]
}
Whole502curl 0
PASS
headers-only-no-transform
{
  "path": "/no-transform",
  "stages": [
    {
      "mode": 1
    }
  ],
  "checks": {
    "status": true,
    "curl_code": true,
    "modes": true
  },
  "response": {
    "status": 200,
    "curl_code": 0,
    "headers": "HTTP/1.1 200 OK\nServer: BaseHTTP/0.6 Python/3.12.3\nDate: Wed, 09 Sep 2026 17:42:48 GMT\nContent-Type: text/plain\nX-Origin: fixture\nETag: \"original\"\nCache-Control: no-transform\nContent-Length: 19\n\n",
    "bytes": 19,
    "sample": "alpha secret omega\n"
  },
  "middleware_events": [
    {
      "time": 1788975768.8145845,
      "service": "fixture-1",
      "request_id": "1e495b98-a3d2-4545-bd7a-03f71af4ae06",
      "path": "/no-transform",
      "kind": "preflight",
      "modes": [
        1
      ],
      "limit": 262144,
      "headers": [
        {
          "name": "server",
          "value": "BaseHTTP/0.6 Python/3.12.3"
        },
        {
          "name": "date",
          "value": "Wed, 09 Sep 2026 17:42:48 GMT"
        },
        {
          "name": "content-type",
          "value": "text/plain"
        },
        {
          "name": "x-origin",
          "value": "fixture"
        },
        {
          "name": "etag",
          "value": "\"original\""
        },
        {
          "name": "cache-control",
          "value": "no-transform"
        }
      ],
      "config": {
        "mode": 1.0
      }
    }
  ]
}
Headers200curl 0
PASS
illegal-whole-no-transform
{
  "path": "/no-transform",
  "stages": [
    {
      "mode": 2
    }
  ],
  "checks": {
    "status": true,
    "curl_code": true,
    "canonical_error": true
  },
  "response": {
    "status": 502,
    "curl_code": 0,
    "headers": "HTTP/1.1 502 Bad Gateway\nContent-Type: application/json\nContent-Length: 316\nX-OpenShell-Policy: upstream\nConnection: close\n\n",
    "bytes": 316,
    "sample": "{\"detail\":\"The upstream request may have completed, but OpenShell could not deliver its response. Retrying may repeat upstream side effects.\",\"error\":"
  },
  "middleware_events": [
    {
      "time": 1788975769.9604838,
      "service": "fixture-1",
      "request_id": "a5183f24-2a6d-47d3-b2e9-3e14f2927697",
      "path": "/no-transform",
      "kind": "preflight",
      "modes": [
        1
      ],
      "limit": 262144,
      "headers": [
        {
          "name": "server",
          "value": "BaseHTTP/0.6 Python/3.12.3"
        },
        {
          "name": "date",
          "value": "Wed, 09 Sep 2026 17:42:49 GMT"
        },
        {
          "name": "content-type",
          "value": "text/plain"
        },
        {
          "name": "x-origin",
          "value": "fixture"
        },
        {
          "name": "etag",
          "value": "\"original\""
        },
        {
          "name": "cache-control",
          "value": "no-transform"
        }
      ],
      "config": {
        "mode": 2.0
      }
    }
  ]
}
Whole502curl 0
PASS
head
{
  "path": "/fixed",
  "stages": [
    {
      "mode": 1
    }
  ],
  "checks": {
    "status": true,
    "curl_code": true,
    "modes": true
  },
  "response": {
    "status": 200,
    "curl_code": 0,
    "headers": "HTTP/1.1 200 OK\nServer: BaseHTTP/0.6 Python/3.12.3\nDate: Wed, 09 Sep 2026 17:42:51 GMT\nContent-Type: text/plain\nX-Origin: fixture\nETag: \"original\"\nContent-Length: 19\n\n",
    "bytes": 0,
    "sample": "HTTP/1.1 200 OK\r\nServer: BaseHTTP/0.6 Python/3.12.3\r\nDate: Wed, 09 Sep 2026 17:42:51 GMT\r\nContent-Type: text/plain\r\nX-Origin: fixture\r\nETag: \"original"
  },
  "middleware_events": [
    {
      "time": 1788975771.0887134,
      "service": "fixture-1",
      "request_id": "f10d42de-c483-4e3b-a7f5-b3e534f836c0",
      "path": "/fixed",
      "kind": "preflight",
      "modes": [
        1
      ],
      "limit": 262144,
      "headers": [
        {
          "name": "server",
          "value": "BaseHTTP/0.6 Python/3.12.3"
        },
        {
          "name": "date",
          "value": "Wed, 09 Sep 2026 17:42:51 GMT"
        },
        {
          "name": "content-type",
          "value": "text/plain"
        },
        {
          "name": "x-origin",
          "value": "fixture"
        },
        {
          "name": "etag",
          "value": "\"original\""
        }
      ],
      "config": {
        "mode": 1.0
      }
    }
  ]
}
Headers200curl 0
PASS
small-limit-stream
{
  "path": "/fixed?size=100",
  "stages": [
    {
      "service": 4,
      "mode": 3
    }
  ],
  "checks": {
    "status": true,
    "curl_code": true,
    "body": true
  },
  "response": {
    "status": 200,
    "curl_code": 0,
    "headers": "HTTP/1.1 200 OK\nserver: BaseHTTP/0.6 Python/3.12.3\ndate: Wed, 09 Sep 2026 17:42:52 GMT\ncontent-type: text/plain\nx-origin: fixture\nTransfer-Encoding: chunked\n\n",
    "bytes": 100,
    "sample": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
  },
  "middleware_events": [
    {
      "time": 1788975772.225403,
      "service": "fixture-4",
      "request_id": "8a3be1bc-a1ab-4d4d-8e6d-3dbcb4c665f0",
      "path": "/fixed",
      "kind": "preflight",
      "modes": [
        1,
        3
      ],
      "limit": 32,
      "headers": [
        {
          "name": "server",
          "value": "BaseHTTP/0.6 Python/3.12.3"
        },
        {
          "name": "date",
          "value": "Wed, 09 Sep 2026 17:42:52 GMT"
        },
        {
          "name": "content-type",
          "value": "text/plain"
        },
        {
          "name": "x-origin",
          "value": "fixture"
        },
        {
          "name": "etag",
          "value": "\"original\""
        }
      ],
      "config": {
        "mode": 3.0
      }
    },
    {
      "time": 1788975772.2261918,
      "service": "fixture-4",
      "request_id": "8a3be1bc-a1ab-4d4d-8e6d-3dbcb4c665f0",
      "path": "/fixed",
      "kind": "body",
      "seq": 1,
      "final": false,
      "length": 32,
      "sample": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
      "sha256": "c62e4615bd39e222572f3a1bf7c2132ea1e65b17ec805047bd6b2842c593493f"
    },
    {
      "time": 1788975772.2268484,
      "service": "fixture-4",
      "request_id": "8a3be1bc-a1ab-4d4d-8e6d-3dbcb4c665f0",
      "path": "/fixed",
      "kind": "body",
      "seq": 2,
      "final": false,
      "length": 32,
      "sample": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
      "sha256": "c62e4615bd39e222572f3a1bf7c2132ea1e65b17ec805047bd6b2842c593493f"
    },
    {
      "time": 1788975772.2274134,
      "service": "fixture-4",
      "request_id": "8a3be1bc-a1ab-4d4d-8e6d-3dbcb4c665f0",
      "path": "/fixed",
      "kind": "body",
      "seq": 3,
      "final": false,
      "length": 32,
      "sample": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
      "sha256": "c62e4615bd39e222572f3a1bf7c2132ea1e65b17ec805047bd6b2842c593493f"
    },
    {
      "time": 1788975772.2280314,
      "service": "fixture-4",
      "request_id": "8a3be1bc-a1ab-4d4d-8e6d-3dbcb4c665f0",
      "path": "/fixed",
      "kind": "body",
      "seq": 4,
      "final": false,
      "length": 4,
      "sample": "xxxx",
      "sha256": "2481a63c85a62cf889d2b149f1a52e985a9341750173fe01eff50cc27b5941b5"
    },
    {
      "time": 1788975772.2284062,
      "service": "fixture-4",
      "request_id": "8a3be1bc-a1ab-4d4d-8e6d-3dbcb4c665f0",
      "path": "/fixed",
      "kind": "body",
      "seq": 5,
      "final": true,
      "length": 0,
      "sample": "",
      "sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
    },
    {
      "time": 1788975772.2289236,
      "service": "fixture-4",
      "request_id": "8a3be1bc-a1ab-4d4d-8e6d-3dbcb4c665f0",
      "path": "/fixed",
      "kind": "trailers",
      "trailers": {}
    }
  ]
}
Stream200curl 0
PASS
small-limit-whole-known-closed
{
  "path": "/fixed?size=100",
  "stages": [
    {
      "service": 4,
      "mode": 2
    }
  ],
  "checks": {
    "status": true,
    "curl_code": true,
    "canonical_error": true
  },
  "response": {
    "status": 502,
    "curl_code": 0,
    "headers": "HTTP/1.1 502 Bad Gateway\nContent-Type: application/json\nContent-Length: 309\nX-OpenShell-Policy: upstream\nConnection: close\n\n",
    "bytes": 309,
    "sample": "{\"detail\":\"The upstream request may have completed, but OpenShell could not deliver its response. Retrying may repeat upstream side effects.\",\"error\":"
  },
  "middleware_events": [
    {
      "time": 1788975773.37715,
      "service": "fixture-4",
      "request_id": "44bf9a7d-fb4f-4190-bf0b-16ab976e3724",
      "path": "/fixed",
      "kind": "preflight",
      "modes": [
        1,
        3
      ],
      "limit": 32,
      "headers": [
        {
          "name": "server",
          "value": "BaseHTTP/0.6 Python/3.12.3"
        },
        {
          "name": "date",
          "value": "Wed, 09 Sep 2026 17:42:53 GMT"
        },
        {
          "name": "content-type",
          "value": "text/plain"
        },
        {
          "name": "x-origin",
          "value": "fixture"
        },
        {
          "name": "etag",
          "value": "\"original\""
        }
      ],
      "config": {
        "mode": 2.0
      }
    }
  ]
}
Whole502curl 0
PASS
small-limit-whole-unknown-closed
{
  "path": "/chunked?size=100",
  "stages": [
    {
      "service": 4,
      "mode": 2
    }
  ],
  "checks": {
    "status": true,
    "curl_code": true,
    "canonical_error": true
  },
  "response": {
    "status": 502,
    "curl_code": 0,
    "headers": "HTTP/1.1 502 Bad Gateway\nContent-Type: application/json\nContent-Length: 311\nX-OpenShell-Policy: upstream\nConnection: close\n\n",
    "bytes": 311,
    "sample": "{\"detail\":\"The upstream request may have completed, but OpenShell could not deliver its response. Retrying may repeat upstream side effects.\",\"error\":"
  },
  "middleware_events": [
    {
      "time": 1788975773.5054107,
      "service": "fixture-4",
      "request_id": "b5dd9b1c-a9b3-43fe-9cc3-901bce20ee39",
      "path": "/chunked",
      "kind": "preflight",
      "modes": [
        1,
        2,
        3
      ],
      "limit": 32,
      "headers": [
        {
          "name": "server",
          "value": "BaseHTTP/0.6 Python/3.12.3"
        },
        {
          "name": "date",
          "value": "Wed, 09 Sep 2026 17:42:53 GMT"
        },
        {
          "name": "content-type",
          "value": "text/plain"
        },
        {
          "name": "x-origin",
          "value": "fixture"
        },
        {
          "name": "etag",
          "value": "\"original\""
        }
      ],
      "config": {
        "mode": 2.0
      }
    }
  ]
}
Whole502curl 0
PASS
small-limit-whole-unknown-open
{
  "path": "/chunked?size=100",
  "stages": [
    {
      "service": 4,
      "mode": 2,
      "on_error": "fail_open"
    },
    {
      "mode": 3
    }
  ],
  "checks": {
    "status": true,
    "curl_code": true,
    "body": true
  },
  "response": {
    "status": 200,
    "curl_code": 0,
    "headers": "HTTP/1.1 200 OK\nserver: BaseHTTP/0.6 Python/3.12.3\ndate: Wed, 09 Sep 2026 17:42:54 GMT\ncontent-type: text/plain\nx-origin: fixture\nTransfer-Encoding: chunked\n\n",
    "bytes": 100,
    "sample": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
  },
  "middleware_events": [
    {
      "time": 1788975774.6496632,
      "service": "fixture-4",
      "request_id": "213f656d-f453-409d-86d7-3e2a2f56ebcd",
      "path": "/chunked",
      "kind": "preflight",
      "modes": [
        1,
        2,
        3
      ],
      "limit": 32,
      "headers": [
        {
          "name": "server",
          "value": "BaseHTTP/0.6 Python/3.12.3"
        },
        {
          "name": "date",
          "value": "Wed, 09 Sep 2026 17:42:54 GMT"
        },
        {
          "name": "content-type",
          "value": "text/plain"
        },
        {
          "name": "x-origin",
          "value": "fixture"
        },
        {
          "name": "etag",
          "value": "\"original\""
        }
      ],
      "config": {
        "mode": 2.0
      }
    },
    {
      "time": 1788975774.6505883,
      "service": "fixture-2",
      "request_id": "213f656d-f453-409d-86d7-3e2a2f56ebcd",
      "path": "/chunked",
      "kind": "preflight",
      "modes": [
        1,
        2,
        3
      ],
      "limit": 262144,
      "headers": [
        {
          "name": "server",
          "value": "BaseHTTP/0.6 Python/3.12.3"
        },
        {
          "name": "date",
          "value": "Wed, 09 Sep 2026 17:42:54 GMT"
        },
        {
          "name": "content-type",
          "value": "text/plain"
        },
        {
          "name": "x-origin",
          "value": "fixture"
        },
        {
          "name": "etag",
          "value": "\"original\""
        }
      ],
      "config": {
        "mode": 3.0
      }
    },
    {
      "time": 1788975774.6513667,
      "service": "fixture-2",
      "request_id": "213f656d-f453-409d-86d7-3e2a2f56ebcd",
      "path": "/chunked",
      "kind": "body",
      "seq": 1,
      "final": false,
      "length": 100,
      "sample": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
      "sha256": "09ecb6ebc8bcefc733f6f2ec44f791abeed6a99edf0cc31519637898aebd52d8"
    },
    {
      "time": 1788975774.6519625,
      "service": "fixture-2",
      "request_id": "213f656d-f453-409d-86d7-3e2a2f56ebcd",
      "path": "/chunked",
      "kind": "body",
      "seq": 2,
      "final": true,
      "length": 0,
      "sample": "",
      "sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
    },
    {
      "time": 1788975774.6522956,
      "service": "fixture-2",
      "request_id": "213f656d-f453-409d-86d7-3e2a2f56ebcd",
      "path": "/chunked",
      "kind": "trailers",
      "trailers": {}
    }
  ]
}
Whole → Stream200curl 0
PASS
different-limits-and-modes
{
  "path": "/fixed?size=100",
  "stages": [
    {
      "service": 4,
      "mode": 3
    },
    {
      "mode": 2
    }
  ],
  "checks": {
    "status": true,
    "curl_code": true,
    "body": true
  },
  "response": {
    "status": 200,
    "curl_code": 0,
    "headers": "HTTP/1.1 200 OK\nserver: BaseHTTP/0.6 Python/3.12.3\ndate: Wed, 09 Sep 2026 17:42:55 GMT\ncontent-type: text/plain\nx-origin: fixture\nContent-Length: 100\n\n",
    "bytes": 100,
    "sample": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
  },
  "middleware_events": [
    {
      "time": 1788975775.7890582,
      "service": "fixture-4",
      "request_id": "6602a3fb-b97e-40f3-9b68-262dd9272bc7",
      "path": "/fixed",
      "kind": "preflight",
      "modes": [
        1,
        3
      ],
      "limit": 32,
      "headers": [
        {
          "name": "server",
          "value": "BaseHTTP/0.6 Python/3.12.3"
        },
        {
          "name": "date",
          "value": "Wed, 09 Sep 2026 17:42:55 GMT"
        },
        {
          "name": "content-type",
          "value": "text/plain"
        },
        {
          "name": "x-origin",
          "value": "fixture"
        },
        {
          "name": "etag",
          "value": "\"original\""
        }
      ],
      "config": {
        "mode": 3.0
      }
    },
    {
      "time": 1788975775.7899616,
      "service": "fixture-2",
      "request_id": "6602a3fb-b97e-40f3-9b68-262dd9272bc7",
      "path": "/fixed",
      "kind": "preflight",
      "modes": [
        1,
        2,
        3
      ],
      "limit": 262144,
      "headers": [
        {
          "name": "server",
          "value": "BaseHTTP/0.6 Python/3.12.3"
        },
        {
          "name": "date",
          "value": "Wed, 09 Sep 2026 17:42:55 GMT"
        },
        {
          "name": "content-type",
          "value": "text/plain"
        },
        {
          "name": "x-origin",
          "value": "fixture"
        }
      ],
      "config": {
        "mode": 2.0
      }
    },
    {
      "time": 1788975775.7908695,
      "service": "fixture-4",
      "request_id": "6602a3fb-b97e-40f3-9b68-262dd9272bc7",
      "path": "/fixed",
      "kind": "body",
      "seq": 1,
      "final": false,
      "length": 32,
      "sample": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
      "sha256": "c62e4615bd39e222572f3a1bf7c2132ea1e65b17ec805047bd6b2842c593493f"
    },
    {
      "time": 1788975775.791555,
      "service": "fixture-4",
      "request_id": "6602a3fb-b97e-40f3-9b68-262dd9272bc7",
      "path": "/fixed",
      "kind": "body",
      "seq": 2,
      "final": false,
      "length": 32,
      "sample": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
      "sha256": "c62e4615bd39e222572f3a1bf7c2132ea1e65b17ec805047bd6b2842c593493f"
    },
    {
      "time": 1788975775.7920017,
      "service": "fixture-4",
      "request_id": "6602a3fb-b97e-40f3-9b68-262dd9272bc7",
      "path": "/fixed",
      "kind": "body",
      "seq": 3,
      "final": false,
      "length": 32,
      "sample": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
      "sha256": "c62e4615bd39e222572f3a1bf7c2132ea1e65b17ec805047bd6b2842c593493f"
    },
    {
      "time": 1788975775.7924724,
      "service": "fixture-4",
      "request_id": "6602a3fb-b97e-40f3-9b68-262dd9272bc7",
      "path": "/fixed",
      "kind": "body",
      "seq": 4,
      "final": false,
      "length": 4,
      "sample": "xxxx",
      "sha256": "2481a63c85a62cf889d2b149f1a52e985a9341750173fe01eff50cc27b5941b5"
    },
    {
      "time": 1788975775.792885,
      "service": "fixture-4",
      "request_id": "6602a3fb-b97e-40f3-9b68-262dd9272bc7",
      "path": "/fixed",
      "kind": "body",
      "seq": 5,
      "final": true,
      "length": 0,
      "sample": "",
      "sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
    },
    {
      "time": 1788975775.7933855,
      "service": "fixture-2",
      "request_id": "6602a3fb-b97e-40f3-9b68-262dd9272bc7",
      "path": "/fixed",
      "kind": "body",
      "seq": 1,
      "final": true,
      "length": 100,
      "sample": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
      "sha256": "09ecb6ebc8bcefc733f6f2ec44f791abeed6a99edf0cc31519637898aebd52d8"
    },
    {
      "time": 1788975775.794003,
      "service": "fixture-4",
      "request_id": "6602a3fb-b97e-40f3-9b68-262dd9272bc7",
      "path": "/fixed",
      "kind": "trailers",
      "trailers": {}
    },
    {
      "time": 1788975775.7943609,
      "service": "fixture-2",
      "request_id": "6602a3fb-b97e-40f3-9b68-262dd9272bc7",
      "path": "/fixed",
      "kind": "trailers",
      "trailers": {}
    }
  ]
}
Stream → Whole200curl 0
PASS
growth-over-next-stage-limit
{
  "path": "/fixed",
  "stages": [
    {
      "mode": 2,
      "body": "transform",
      "append": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
    },
    {
      "service": 4,
      "mode": 2
    }
  ],
  "checks": {
    "status": true,
    "curl_code": true,
    "canonical_error": true
  },
  "response": {
    "status": 502,
    "curl_code": 0,
    "headers": "HTTP/1.1 502 Bad Gateway\nContent-Type: application/json\nContent-Length: 309\nX-OpenShell-Policy: upstream\nConnection: close\n\n",
    "bytes": 309,
    "sample": "{\"detail\":\"The upstream request may have completed, but OpenShell could not deliver its response. Retrying may repeat upstream side effects.\",\"error\":"
  },
  "middleware_events": [
    {
      "time": 1788975776.9368327,
      "service": "fixture-1",
      "request_id": "e18c0a72-d454-4f53-96f8-ea1fda0f7146",
      "path": "/fixed",
      "kind": "preflight",
      "modes": [
        1,
        2,
        3
      ],
      "limit": 262144,
      "headers": [
        {
          "name": "server",
          "value": "BaseHTTP/0.6 Python/3.12.3"
        },
        {
          "name": "date",
          "value": "Wed, 09 Sep 2026 17:42:56 GMT"
        },
        {
          "name": "content-type",
          "value": "text/plain"
        },
        {
          "name": "x-origin",
          "value": "fixture"
        },
        {
          "name": "etag",
          "value": "\"original\""
        }
      ],
      "config": {
        "body": "transform",
        "append": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
        "mode": 2.0
      }
    },
    {
      "time": 1788975776.9376,
      "service": "fixture-4",
      "request_id": "e18c0a72-d454-4f53-96f8-ea1fda0f7146",
      "path": "/fixed",
      "kind": "preflight",
      "modes": [
        1,
        2,
        3
      ],
      "limit": 32,
      "headers": [
        {
          "name": "server",
          "value": "BaseHTTP/0.6 Python/3.12.3"
        },
        {
          "name": "date",
          "value": "Wed, 09 Sep 2026 17:42:56 GMT"
        },
        {
          "name": "content-type",
          "value": "text/plain"
        },
        {
          "name": "x-origin",
          "value": "fixture"
        },
        {
          "name": "etag",
          "value": "\"original\""
        }
      ],
      "config": {
        "mode": 2.0
      }
    },
    {
      "time": 1788975776.9383447,
      "service": "fixture-1",
      "request_id": "e18c0a72-d454-4f53-96f8-ea1fda0f7146",
      "path": "/fixed",
      "kind": "body",
      "seq": 1,
      "final": true,
      "length": 19,
      "sample": "alpha secret omega\n",
      "sha256": "5db0d32646959fa18ff5f7ba0ebeb4b2eb21a38e8e66465c0ba6f0ec1c28355f"
    }
  ]
}
Whole → Whole502curl 0
FAIL
preflight-content-length-contract
{
  "path": "/fixed",
  "stages": [
    {
      "mode": 1
    }
  ],
  "checks": {
    "status": true,
    "curl_code": true,
    "body": true,
    "preflight_header": false
  },
  "response": {
    "status": 200,
    "curl_code": 0,
    "headers": "HTTP/1.1 200 OK\nServer: BaseHTTP/0.6 Python/3.12.3\nDate: Wed, 09 Sep 2026 17:42:58 GMT\nContent-Type: text/plain\nX-Origin: fixture\nETag: \"original\"\nContent-Length: 19\n\n",
    "bytes": 19,
    "sample": "alpha secret omega\n"
  },
  "middleware_events": [
    {
      "time": 1788975778.1018455,
      "service": "fixture-1",
      "request_id": "4c4163b9-1a8b-46d7-a995-7334e399eeb7",
      "path": "/fixed",
      "kind": "preflight",
      "modes": [
        1,
        2,
        3
      ],
      "limit": 262144,
      "headers": [
        {
          "name": "server",
          "value": "BaseHTTP/0.6 Python/3.12.3"
        },
        {
          "name": "date",
          "value": "Wed, 09 Sep 2026 17:42:58 GMT"
        },
        {
          "name": "content-type",
          "value": "text/plain"
        },
        {
          "name": "x-origin",
          "value": "fixture"
        },
        {
          "name": "etag",
          "value": "\"original\""
        }
      ],
      "config": {
        "mode": 1.0
      }
    }
  ]
}
Headers200curl 0
PASS
stream-over-total-limit
{
  "path": "/fixed?size=1048576",
  "stages": [
    {
      "mode": 3
    }
  ],
  "checks": {
    "status": true,
    "curl_code": true,
    "body": true
  },
  "response": {
    "status": 200,
    "curl_code": 0,
    "headers": "HTTP/1.1 200 OK\nserver: BaseHTTP/0.6 Python/3.12.3\ndate: Wed, 09 Sep 2026 17:42:59 GMT\ncontent-type: text/plain\nx-origin: fixture\nTransfer-Encoding: chunked\n\n",
    "bytes": 1048576,
    "sample": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
  },
  "middleware_events": [
    {
      "time": 1788975779.23434,
      "service": "fixture-1",
      "request_id": "a00301b0-f2df-4ac3-8ef9-4096b143c544",
      "path": "/fixed",
      "kind": "preflight",
      "modes": [
        1,
        3
      ],
      "limit": 262144,
      "headers": [
        {
          "name": "server",
          "value": "BaseHTTP/0.6 Python/3.12.3"
        },
        {
          "name": "date",
          "value": "Wed, 09 Sep 2026 17:42:59 GMT"
        },
        {
          "name": "content-type",
          "value": "text/plain"
        },
        {
          "name": "x-origin",
          "value": "fixture"
        },
        {
          "name": "etag",
          "value": "\"original\""
        }
      ],
      "config": {
        "mode": 3.0
      }
    },
    {
      "time": 1788975779.2359684,
      "service": "fixture-1",
      "request_id": "a00301b0-f2df-4ac3-8ef9-4096b143c544",
      "path": "/fixed",
      "kind": "body",
      "seq": 1,
      "final": false,
      "length": 65536,
      "sample": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
      "sha256": "1f8745f0d2d1387ec1af2211a3cf417b2e9e885e853472649c1d979d0e9370e3"
    },
    {
      "time": 1788975779.2373643,
      "service": "fixture-1",
      "request_id": "a00301b0-f2df-4ac3-8ef9-4096b143c544",
      "path": "/fixed",
      "kind": "body",
      "seq": 2,
      "final": false,
      "length": 65536,
      "sample": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
      "sha256": "1f8745f0d2d1387ec1af2211a3cf417b2e9e885e853472649c1d979d0e9370e3"
    },
    {
      "time": 1788975779.2385898,
      "service": "fixture-1",
      "request_id": "a00301b0-f2df-4ac3-8ef9-4096b143c544",
      "path": "/fixed",
      "kind": "body",
      "seq": 3,
      "final": false,
      "length": 65536,
      "sample": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
      "sha256": "1f8745f0d2d1387ec1af2211a3cf417b2e9e885e853472649c1d979d0e9370e3"
    },
    {
      "time": 1788975779.2396736,
      "service": "fixture-1",
      "request_id": "a00301b0-f2df-4ac3-8ef9-4096b143c544",
      "path": "/fixed",
      "kind": "body",
      "seq": 4,
      "final": false,
      "length": 65536,
      "sample": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
      "sha256": "1f8745f0d2d1387ec1af2211a3cf417b2e9e885e853472649c1d979d0e9370e3"
    },
    {
      "time": 1788975779.2408187,
      "service": "fixture-1",
      "request_id": "a00301b0-f2df-4ac3-8ef9-4096b143c544",
      "path": "/fixed",
      "kind": "body",
      "seq": 5,
      "final": false,
      "length": 65536,
      "sample": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
      "sha256": "1f8745f0d2d1387ec1af2211a3cf417b2e9e885e853472649c1d979d0e9370e3"
    },
    {
      "time": 1788975779.24159,
      "service": "fixture-1",
      "request_id": "a00301b0-f2df-4ac3-8ef9-4096b143c544",
      "path": "/fixed",
      "kind": "body",
      "seq": 6,
      "final": false,
      "length": 65536,
      "sample": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
      "sha256": "1f8745f0d2d1387ec1af2211a3cf417b2e9e885e853472649c1d979d0e9370e3"
    },
    {
      "time": 1788975779.242499,
      "service": "fixture-1",
      "request_id": "a00301b0-f2df-4ac3-8ef9-4096b143c544",
      "path": "/fixed",
      "kind": "body",
      "seq": 7,
      "final": false,
      "length": 65536,
      "sample": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
      "sha256": "1f8745f0d2d1387ec1af2211a3cf417b2e9e885e853472649c1d979d0e9370e3"
    },
    {
      "time": 1788975779.243364,
      "service": "fixture-1",
      "request_id": "a00301b0-f2df-4ac3-8ef9-4096b143c544",
      "path": "/fixed",
      "kind": "body",
      "seq": 8,
      "final": false,
      "length": 65536,
      "sample": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
      "sha256": "1f8745f0d2d1387ec1af2211a3cf417b2e9e885e853472649c1d979d0e9370e3"
    },
    {
      "time": 1788975779.244054,
      "service": "fixture-1",
      "request_id": "a00301b0-f2df-4ac3-8ef9-4096b143c544",
      "path": "/fixed",
      "kind": "body",
      "seq": 9,
      "final": false,
      "length": 65536,
      "sample": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
      "sha256": "1f8745f0d2d1387ec1af2211a3cf417b2e9e885e853472649c1d979d0e9370e3"
    },
    {
      "time": 1788975779.2451508,
      "service": "fixture-1",
      "request_id": "a00301b0-f2df-4ac3-8ef9-4096b143c544",
      "path": "/fixed",
      "kind": "body",
      "seq": 10,
      "final": false,
      "length": 65536,
      "sample": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
      "sha256": "1f8745f0d2d1387ec1af2211a3cf417b2e9e885e853472649c1d979d0e9370e3"
    },
    {
      "time": 1788975779.2463858,
      "service": "fixture-1",
      "request_id": "a00301b0-f2df-4ac3-8ef9-4096b143c544",
      "path": "/fixed",
      "kind": "body",
      "seq": 11,
      "final": false,
      "length": 65536,
      "sample": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
      "sha256": "1f8745f0d2d1387ec1af2211a3cf417b2e9e885e853472649c1d979d0e9370e3"
    },
    {
      "time": 1788975779.2475185,
      "service": "fixture-1",
      "request_id": "a00301b0-f2df-4ac3-8ef9-4096b143c544",
      "path": "/fixed",
      "kind": "body",
      "seq": 12,
      "final": false,
      "length": 65536,
      "sample": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
      "sha256": "1f8745f0d2d1387ec1af2211a3cf417b2e9e885e853472649c1d979d0e9370e3"
    },
    {
      "time": 1788975779.2484407,
      "service": "fixture-1",
      "request_id": "a00301b0-f2df-4ac3-8ef9-4096b143c544",
      "path": "/fixed",
      "kind": "body",
      "seq": 13,
      "final": false,
      "length": 65536,
      "sample": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
      "sha256": "1f8745f0d2d1387ec1af2211a3cf417b2e9e885e853472649c1d979d0e9370e3"
    },
    {
      "time": 1788975779.249524,
      "service": "fixture-1",
      "request_id": "a00301b0-f2df-4ac3-8ef9-4096b143c544",
      "path": "/fixed",
      "kind": "body",
      "seq": 14,
      "final": false,
      "length": 65536,
      "sample": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
      "sha256": "1f8745f0d2d1387ec1af2211a3cf417b2e9e885e853472649c1d979d0e9370e3"
    },
    {
      "time": 1788975779.2503324,
      "service": "fixture-1",
      "request_id": "a00301b0-f2df-4ac3-8ef9-4096b143c544",
      "path": "/fixed",
      "kind": "body",
      "seq": 15,
      "final": false,
      "length": 65536,
      "sample": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
      "sha256": "1f8745f0d2d1387ec1af2211a3cf417b2e9e885e853472649c1d979d0e9370e3"
    },
    {
      "time": 1788975779.251137,
      "service": "fixture-1",
      "request_id": "a00301b0-f2df-4ac3-8ef9-4096b143c544",
      "path": "/fixed",
      "kind": "body",
      "seq": 16,
      "final": false,
      "length": 65536,
      "sample": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
      "sha256": "1f8745f0d2d1387ec1af2211a3cf417b2e9e885e853472649c1d979d0e9370e3"
    },
    {
      "time": 1788975779.251785,
      "service": "fixture-1",
      "request_id": "a00301b0-f2df-4ac3-8ef9-4096b143c544",
      "path": "/fixed",
      "kind": "body",
      "seq": 17,
      "final": true,
      "length": 0,
      "sample": "",
      "sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
    },
    {
      "time": 1788975779.252364,
      "service": "fixture-1",
      "request_id": "a00301b0-f2df-4ac3-8ef9-4096b143c544",
      "path": "/fixed",
      "kind": "trailers",
      "trailers": {}
    }
  ]
}
Stream200curl 0
PASS
stream-pair-over-total-limit
{
  "path": "/fixed?size=1048576",
  "stages": [
    {
      "mode": 3
    },
    {
      "mode": 3
    }
  ],
  "checks": {
    "status": true,
    "curl_code": true,
    "body": true
  },
  "response": {
    "status": 200,
    "curl_code": 0,
    "headers": "HTTP/1.1 200 OK\nserver: BaseHTTP/0.6 Python/3.12.3\ndate: Wed, 09 Sep 2026 17:43:00 GMT\ncontent-type: text/plain\nx-origin: fixture\nTransfer-Encoding: chunked\n\n",
    "bytes": 1048576,
    "sample": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
  },
  "middleware_events": [
    {
      "time": 1788975780.4352145,
      "service": "fixture-1",
      "request_id": "d8660a9a-acfb-41ea-a745-279638af912c",
      "path": "/fixed",
      "kind": "preflight",
      "modes": [
        1,
        3
      ],
      "limit": 262144,
      "headers": [
        {
          "name": "server",
          "value": "BaseHTTP/0.6 Python/3.12.3"
        },
        {
          "name": "date",
          "value": "Wed, 09 Sep 2026 17:43:00 GMT"
        },
        {
          "name": "content-type",
          "value": "text/plain"
        },
        {
          "name": "x-origin",
          "value": "fixture"
        },
        {
          "name": "etag",
          "value": "\"original\""
        }
      ],
      "config": {
        "mode": 3.0
      }
    },
    {
      "time": 1788975780.4367476,
      "service": "fixture-2",
      "request_id": "d8660a9a-acfb-41ea-a745-279638af912c",
      "path": "/fixed",
      "kind": "preflight",
      "modes": [
        1,
        3
      ],
      "limit": 262144,
      "headers": [
        {
          "name": "server",
          "value": "BaseHTTP/0.6 Python/3.12.3"
        },
        {
          "name": "date",
          "value": "Wed, 09 Sep 2026 17:43:00 GMT"
        },
        {
          "name": "content-type",
          "value": "text/plain"
        },
        {
          "name": "x-origin",
          "value": "fixture"
        }
      ],
      "config": {
        "mode": 3.0
      }
    },
    {
      "time": 1788975780.4380076,
      "service": "fixture-1",
      "request_id": "d8660a9a-acfb-41ea-a745-279638af912c",
      "path": "/fixed",
      "kind": "body",
      "seq": 1,
      "final": false,
      "length": 65536,
      "sample": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
      "sha256": "1f8745f0d2d1387ec1af2211a3cf417b2e9e885e853472649c1d979d0e9370e3"
    },
    {
      "time": 1788975780.4389935,
      "service": "fixture-2",
      "request_id": "d8660a9a-acfb-41ea-a745-279638af912c",
      "path": "/fixed",
      "kind": "body",
      "seq": 1,
      "final": false,
      "length": 65536,
      "sample": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
      "sha256": "1f8745f0d2d1387ec1af2211a3cf417b2e9e885e853472649c1d979d0e9370e3"
    },
    {
      "time": 1788975780.4401565,
      "service": "fixture-1",
      "request_id": "d8660a9a-acfb-41ea-a745-279638af912c",
      "path": "/fixed",
      "kind": "body",
      "seq": 2,
      "final": false,
      "length": 65536,
      "sample": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
      "sha256": "1f8745f0d2d1387ec1af2211a3cf417b2e9e885e853472649c1d979d0e9370e3"
    },
    {
      "time": 1788975780.4408627,
      "service": "fixture-2",
      "request_id": "d8660a9a-acfb-41ea-a745-279638af912c",
      "path": "/fixed",
      "kind": "body",
      "seq": 2,
      "final": false,
      "length": 65536,
      "sample": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
      "sha256": "1f8745f0d2d1387ec1af2211a3cf417b2e9e885e853472649c1d979d0e9370e3"
    },
    {
      "time": 1788975780.441699,
      "service": "fixture-1",
      "request_id": "d8660a9a-acfb-41ea-a745-279638af912c",
      "path": "/fixed",
      "kind": "body",
      "seq": 3,
      "final": false,
      "length": 65536,
      "sample": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
      "sha256": "1f8745f0d2d1387ec1af2211a3cf417b2e9e885e853472649c1d979d0e9370e3"
    },
    {
      "time": 1788975780.4423623,
      "service": "fixture-2",
      "request_id": "d8660a9a-acfb-41ea-a745-279638af912c",
      "path": "/fixed",
      "kind": "body",
      "seq": 3,
      "final": false,
      "length": 65536,
      "sample": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
      "sha256": "1f8745f0d2d1387ec1af2211a3cf417b2e9e885e853472649c1d979d0e9370e3"
    },
    {
      "time": 1788975780.443168,
      "service": "fixture-1",
      "request_id": "d8660a9a-acfb-41ea-a745-279638af912c",
      "path": "/fixed",
      "kind": "body",
      "seq": 4,
      "final": false,
      "length": 65536,
      "sample": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
      "sha256": "1f8745f0d2d1387ec1af2211a3cf417b2e9e885e853472649c1d979d0e9370e3"
    },
    {
      "time": 1788975780.4437282,
      "service": "fixture-2",
      "request_id": "d8660a9a-acfb-41ea-a745-279638af912c",
      "path": "/fixed",
      "kind": "body",
      "seq": 4,
      "final": false,
      "length": 65536,
      "sample": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
      "sha256": "1f8745f0d2d1387ec1af2211a3cf417b2e9e885e853472649c1d979d0e9370e3"
    },
    {
      "time": 1788975780.444949,
      "service": "fixture-1",
      "request_id": "d8660a9a-acfb-41ea-a745-279638af912c",
      "path": "/fixed",
      "kind": "body",
      "seq": 5,
      "final": false,
      "length": 65536,
      "sample": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
      "sha256": "1f8745f0d2d1387ec1af2211a3cf417b2e9e885e853472649c1d979d0e9370e3"
    },
    {
      "time": 1788975780.445695,
      "service": "fixture-2",
      "request_id": "d8660a9a-acfb-41ea-a745-279638af912c",
      "path": "/fixed",
      "kind": "body",
      "seq": 5,
      "final": false,
      "length": 65536,
      "sample": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
      "sha256": "1f8745f0d2d1387ec1af2211a3cf417b2e9e885e853472649c1d979d0e9370e3"
    },
    {
      "time": 1788975780.4464664,
      "service": "fixture-1",
      "request_id": "d8660a9a-acfb-41ea-a745-279638af912c",
      "path": "/fixed",
      "kind": "body",
      "seq": 6,
      "final": false,
      "length": 65536,
      "sample": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
      "sha256": "1f8745f0d2d1387ec1af2211a3cf417b2e9e885e853472649c1d979d0e9370e3"
    },
    {
      "time": 1788975780.4471767,
      "service": "fixture-2",
      "request_id": "d8660a9a-acfb-41ea-a745-279638af912c",
      "path": "/fixed",
      "kind": "body",
      "seq": 6,
      "final": false,
      "length": 65536,
      "sample": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
      "sha256": "1f8745f0d2d1387ec1af2211a3cf417b2e9e885e853472649c1d979d0e9370e3"
    },
    {
      "time": 1788975780.4479954,
      "service": "fixture-1",
      "request_id": "d8660a9a-acfb-41ea-a745-279638af912c",
      "path": "/fixed",
      "kind": "body",
      "seq": 7,
      "final": false,
      "length": 65536,
      "sample": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
      "sha256": "1f8745f0d2d1387ec1af2211a3cf417b2e9e885e853472649c1d979d0e9370e3"
    },
    {
      "time": 1788975780.4486942,
      "service": "fixture-2",
      "request_id": "d8660a9a-acfb-41ea-a745-279638af912c",
      "path": "/fixed",
      "kind": "body",
      "seq": 7,
      "final": false,
      "length": 65536,
      "sample": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
      "sha256": "1f8745f0d2d1387ec1af2211a3cf417b2e9e885e853472649c1d979d0e9370e3"
    },
    {
      "time": 1788975780.4494977,
      "service": "fixture-1",
      "request_id": "d8660a9a-acfb-41ea-a745-279638af912c",
      "path": "/fixed",
      "kind": "body",
      "seq": 8,
      "final": false,
      "length": 65536,
      "sample": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
      "sha256": "1f8745f0d2d1387ec1af2211a3cf417b2e9e885e853472649c1d979d0e9370e3"
    },
    {
      "time": 1788975780.4502752,
      "service": "fixture-2",
      "request_id": "d8660a9a-acfb-41ea-a745-279638af912c",
      "path": "/fixed",
      "kind": "body",
      "seq": 8,
      "final": false,
      "length": 65536,
      "sample": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
      "sha256": "1f8745f0d2d1387ec1af2211a3cf417b2e9e885e853472649c1d979d0e9370e3"
    },
    {
      "time": 1788975780.450998,
      "service": "fixture-1",
      "request_id": "d8660a9a-acfb-41ea-a745-279638af912c",
      "path": "/fixed",
      "kind": "body",
      "seq": 9,
      "final": false,
      "length": 65536,
      "sample": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
      "sha256": "1f8745f0d2d1387ec1af2211a3cf417b2e9e885e853472649c1d979d0e9370e3"
    },
    {
      "time": 1788975780.4515307,
      "service": "fixture-2",
      "request_id": "d8660a9a-acfb-41ea-a745-279638af912c",
      "path": "/fixed",
      "kind": "body",
      "seq": 9,
      "final": false,
      "length": 65536,
      "sample": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
      "sha256": "1f8745f0d2d1387ec1af2211a3cf417b2e9e885e853472649c1d979d0e9370e3"
    },
    {
      "time": 1788975780.4525857,
      "service": "fixture-1",
      "request_id": "d8660a9a-acfb-41ea-a745-279638af912c",
      "path": "/fixed",
      "kind": "body",
      "seq": 10,
      "final": false,
      "length": 65536,
      "sample": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
      "sha256": "1f8745f0d2d1387ec1af2211a3cf417b2e9e885e853472649c1d979d0e9370e3"
    },
    {
      "time": 1788975780.453229,
      "service": "fixture-2",
      "request_id": "d8660a9a-acfb-41ea-a745-279638af912c",
      "path": "/fixed",
      "kind": "body",
      "seq": 10,
      "final": false,
      "length": 65536,
      "sample": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
      "sha256": "1f8745f0d2d1387ec1af2211a3cf417b2e9e885e853472649c1d979d0e9370e3"
    },
    {
      "time": 1788975780.454173,
      "service": "fixture-1",
      "request_id": "d8660a9a-acfb-41ea-a745-279638af912c",
      "path": "/fixed",
      "kind": "body",
      "seq": 11,
      "final": false,
      "length": 65536,
      "sample": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
      "sha256": "1f8745f0d2d1387ec1af2211a3cf417b2e9e885e853472649c1d979d0e9370e3"
    },
    {
      "time": 1788975780.454767,
      "service": "fixture-2",
      "request_id": "d8660a9a-acfb-41ea-a745-279638af912c",
      "path": "/fixed",
      "kind": "body",
      "seq": 11,
      "final": false,
      "length": 65536,
      "sample": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
      "sha256": "1f8745f0d2d1387ec1af2211a3cf417b2e9e885e853472649c1d979d0e9370e3"
    },
    {
      "time": 1788975780.4555502,
      "service": "fixture-1",
      "request_id": "d8660a9a-acfb-41ea-a745-279638af912c",
      "path": "/fixed",
      "kind": "body",
      "seq": 12,
      "final": false,
      "length": 65536,
      "sample": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
      "sha256": "1f8745f0d2d1387ec1af2211a3cf417b2e9e885e853472649c1d979d0e9370e3"
    },
    {
      "time": 1788975780.4562066,
      "service": "fixture-2",
      "request_id": "d8660a9a-acfb-41ea-a745-279638af912c",
      "path": "/fixed",
      "kind": "body",
      "seq": 12,
      "final": false,
      "length": 65536,
      "sample": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
      "sha256": "1f8745f0d2d1387ec1af2211a3cf417b2e9e885e853472649c1d979d0e9370e3"
    },
    {
      "time": 1788975780.4569898,
      "service": "fixture-1",
      "request_id": "d8660a9a-acfb-41ea-a745-279638af912c",
      "path": "/fixed",
      "kind": "body",
      "seq": 13,
      "final": false,
      "length": 65536,
      "sample": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
      "sha256": "1f8745f0d2d1387ec1af2211a3cf417b2e9e885e853472649c1d979d0e9370e3"
    },
    {
      "time": 1788975780.4577603,
      "service": "fixture-2",
      "request_id": "d8660a9a-acfb-41ea-a745-279638af912c",
      "path": "/fixed",
      "kind": "body",
      "seq": 13,
      "final": false,
      "length": 65536,
      "sample": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
      "sha256": "1f8745f0d2d1387ec1af2211a3cf417b2e9e885e853472649c1d979d0e9370e3"
    },
    {
      "time": 1788975780.4592338,
      "service": "fixture-1",
      "request_id": "d8660a9a-acfb-41ea-a745-279638af912c",
      "path": "/fixed",
      "kind": "body",
      "seq": 14,
      "final": false,
      "length": 65536,
      "sample": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
      "sha256": "1f8745f0d2d1387ec1af2211a3cf417b2e9e885e853472649c1d979d0e9370e3"
    },
    {
      "time": 1788975780.4599705,
      "service": "fixture-2",
      "request_id": "d8660a9a-acfb-41ea-a745-279638af912c",
      "path": "/fixed",
      "kind": "body",
      "seq": 14,
      "final": false,
      "length": 65536,
      "sample": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
      "sha256": "1f8745f0d2d1387ec1af2211a3cf417b2e9e885e853472649c1d979d0e9370e3"
    },
    {
      "time": 1788975780.4609745,
      "service": "fixture-1",
      "request_id": "d8660a9a-acfb-41ea-a745-279638af912c",
      "path": "/fixed",
      "kind": "body",
      "seq": 15,
      "final": false,
      "length": 65536,
      "sample": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
      "sha256": "1f8745f0d2d1387ec1af2211a3cf417b2e9e885e853472649c1d979d0e9370e3"
    },
    {
      "time": 1788975780.4616847,
      "service": "fixture-2",
      "request_id": "d8660a9a-acfb-41ea-a745-279638af912c",
      "path": "/fixed",
      "kind": "body",
      "seq": 15,
      "final": false,
      "length": 65536,
      "sample": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
      "sha256": "1f8745f0d2d1387ec1af2211a3cf417b2e9e885e853472649c1d979d0e9370e3"
    },
    {
      "time": 1788975780.4625916,
      "service": "fixture-1",
      "request_id": "d8660a9a-acfb-41ea-a745-279638af912c",
      "path": "/fixed",
      "kind": "body",
      "seq": 16,
      "final": false,
      "length": 65536,
      "sample": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
      "sha256": "1f8745f0d2d1387ec1af2211a3cf417b2e9e885e853472649c1d979d0e9370e3"
    },
    {
      "time": 1788975780.4635794,
      "service": "fixture-2",
      "request_id": "d8660a9a-acfb-41ea-a745-279638af912c",
      "path": "/fixed",
      "kind": "body",
      "seq": 16,
      "final": false,
      "length": 65536,
      "sample": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
      "sha256": "1f8745f0d2d1387ec1af2211a3cf417b2e9e885e853472649c1d979d0e9370e3"
    },
    {
      "time": 1788975780.464257,
      "service": "fixture-1",
      "request_id": "d8660a9a-acfb-41ea-a745-279638af912c",
      "path": "/fixed",
      "kind": "body",
      "seq": 17,
      "final": true,
      "length": 0,
      "sample": "",
      "sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
    },
    {
      "time": 1788975780.4647303,
      "service": "fixture-2",
      "request_id": "d8660a9a-acfb-41ea-a745-279638af912c",
      "path": "/fixed",
      "kind": "body",
      "seq": 17,
      "final": true,
      "length": 0,
      "sample": "",
      "sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
    },
    {
      "time": 1788975780.4652848,
      "service": "fixture-1",
      "request_id": "d8660a9a-acfb-41ea-a745-279638af912c",
      "path": "/fixed",
      "kind": "trailers",
      "trailers": {}
    },
    {
      "time": 1788975780.4657006,
      "service": "fixture-2",
      "request_id": "d8660a9a-acfb-41ea-a745-279638af912c",
      "path": "/fixed",
      "kind": "trailers",
      "trailers": {}
    }
  ]
}
Stream → Stream200curl 0

Method and practical limits

Tested commit 555ff32896a225020b670902a601707624bbadc5 on 2026-09-09. Built a dedicated gateway and CLI from the PR, and built the sandbox supervisor with the repository's Docker task in the optimized release profile. No tracked source files changed.

The test ran on Linux 6.17, ARM64, 20 logical CPUs with Cortex-X925/Cortex-A725 cores. A dedicated Docker sandbox sent requests through the actual OpenShell policy and response relay. The local upstream used HTTP/1.1 and TCP_NODELAY. Four Python gRPC servers ran in one fixture process on separate ports, three with 256 KiB caps and one with a 32-byte cap. Policies selected independent modes and actions per stage. gRPC used plaintext local transport and a 150 ms RPC timeout. The fixture base image set the existing policy polling interval to one second; each policy update waited for the sandbox's loaded acknowledgement.

For each of nine middleware configurations and three payload sizes, each transport path ran three rounds in a reproducible randomized order. Each batch sent 40 sequential curl requests from a single process inside the sandbox; the first five were discarded. Each reported cell therefore contains 105 observations. Time is curl time_total, which excludes CLI launch, SSH setup, policy updates, and the Python wrapper. It includes response writes to the same sandbox temporary file and external gRPC/service processing. Fixture event logging was disabled during timing. Every measured response was checked for HTTP 200 and the expected byte count.

The ordinary HTTP forward-proxy path closes each connection. The measured samples recorded 105 new connections per cell. CONNECT tunnels reused the existing connection, recording zero new connections after warm-up. Neither series uses TLS. The machine was shared and CPU frequency/load was not controlled. These are serial latency measurements, not a concurrency, CPU, memory, production-network, or saturation-throughput benchmark. Sub-millisecond differences, especially on the ordinary HTTP path, are sensitive to background noise. Median and nearest-rank p95 are reported; p95 is an observation, not a guarantee.

The initial fixture issues and corrections are recorded in the companion Markdown report. The full matrix was rerun after corrections. Raw data, including warm-ups, and executable fixtures remain beside this report. No full workspace CI, concurrent-load, CPU, RSS, or TLS/authentication benchmark was run.