Files
core/test/router-parity/frozen/owner-mesh-allow.json
T
chrnx ae9e5529e8
CI / dco (pull_request) Successful in 4s
CI / runtimes (bun) (pull_request) Successful in 16s
CI / build (pull_request) Successful in 26s
CI / runtimes (edge) (pull_request) Successful in 14s
CI / runtimes (deno) (pull_request) Successful in 20s
test(router-parity): HEAD on a remote GET answers 200 for CARD-20 (owner approval required)
owner-mesh-allow.json froze HEAD /api/x at 404 on both adapters: the
teacup forwarded HEAD to the teapot, which has no HEAD plan for the
route. CARD-20 (#125, D16) fixes that, so HEAD now answers 200 with the
GET's headers and an empty body, like a local route.

Only those two entries change (fetch and node), status 404 -> 200.
Headers and the empty body are identical. The fixture comment in
owner.test.ts that described the old behaviour is updated to match.

Owner approval required (CARD-08 rule): this edits a frozen file under
test/router-parity/.

Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
2026-10-23 00:59:56 -05:00

532 lines
15 KiB
JSON

{
"revision": "ed47836c9820c47bf4ed5e902d91e019abdb110a",
"data": [
{
"adapter": "fetch",
"method": "PUT",
"path": "/api/dup/ping",
"status": 405,
"headers": {
"allow": "GET, HEAD, POST, OPTIONS",
"content-type": "application/json",
"referrer-policy": "no-referrer",
"x-content-type-options": "nosniff",
"x-dns-prefetch-control": "off",
"x-frame-options": "SAMEORIGIN"
},
"body": "{\"error\":\"Method Not Allowed\"}"
},
{
"adapter": "fetch",
"method": "OPTIONS",
"path": "/api/dup/ping",
"status": 204,
"headers": {
"allow": "GET, HEAD, POST, OPTIONS",
"referrer-policy": "no-referrer",
"x-content-type-options": "nosniff",
"x-dns-prefetch-control": "off",
"x-frame-options": "SAMEORIGIN"
},
"body": ""
},
{
"adapter": "fetch",
"method": "HEAD",
"path": "/api/dup/ping",
"status": 200,
"headers": {
"content-type": "application/json",
"referrer-policy": "no-referrer",
"x-content-type-options": "nosniff",
"x-dns-prefetch-control": "off",
"x-frame-options": "SAMEORIGIN"
},
"body": ""
},
{
"adapter": "fetch",
"method": "GET",
"path": "/api/dup/ping",
"status": 200,
"headers": {
"content-type": "application/json",
"referrer-policy": "no-referrer",
"x-content-type-options": "nosniff",
"x-dns-prefetch-control": "off",
"x-frame-options": "SAMEORIGIN"
},
"body": "{\"from\":\"teacup\",\"route\":\"GET /api/dup/ping\"}"
},
{
"adapter": "fetch",
"method": "POST",
"path": "/api/dup/ping",
"status": 200,
"headers": {
"content-type": "application/json",
"referrer-policy": "no-referrer",
"x-content-type-options": "nosniff",
"x-dns-prefetch-control": "off",
"x-frame-options": "SAMEORIGIN"
},
"body": "{\"from\":\"teapot\",\"route\":\"POST /api/dup/ping\"}"
},
{
"adapter": "fetch",
"method": "PUT",
"path": "/api/v/b",
"status": 405,
"headers": {
"allow": "GET, HEAD, POST, OPTIONS",
"content-type": "application/json",
"referrer-policy": "no-referrer",
"x-content-type-options": "nosniff",
"x-dns-prefetch-control": "off",
"x-frame-options": "SAMEORIGIN"
},
"body": "{\"error\":\"Method Not Allowed\"}"
},
{
"adapter": "fetch",
"method": "OPTIONS",
"path": "/api/v/b",
"status": 204,
"headers": {
"allow": "GET, HEAD, POST, OPTIONS",
"referrer-policy": "no-referrer",
"x-content-type-options": "nosniff",
"x-dns-prefetch-control": "off",
"x-frame-options": "SAMEORIGIN"
},
"body": ""
},
{
"adapter": "fetch",
"method": "HEAD",
"path": "/api/v/b",
"status": 200,
"headers": {
"content-type": "application/json",
"referrer-policy": "no-referrer",
"x-content-type-options": "nosniff",
"x-dns-prefetch-control": "off",
"x-frame-options": "SAMEORIGIN"
},
"body": ""
},
{
"adapter": "fetch",
"method": "GET",
"path": "/api/v/b",
"status": 200,
"headers": {
"content-type": "application/json",
"referrer-policy": "no-referrer",
"x-content-type-options": "nosniff",
"x-dns-prefetch-control": "off",
"x-frame-options": "SAMEORIGIN"
},
"body": "{\"from\":\"teacup\",\"route\":\"GET /api/v/b\"}"
},
{
"adapter": "fetch",
"method": "POST",
"path": "/api/v/b",
"status": 200,
"headers": {
"content-type": "application/json",
"referrer-policy": "no-referrer",
"x-content-type-options": "nosniff",
"x-dns-prefetch-control": "off",
"x-frame-options": "SAMEORIGIN"
},
"body": "{\"from\":\"teapot\",\"route\":\"POST /api/v/:id\"}"
},
{
"adapter": "fetch",
"method": "PUT",
"path": "/api/v/c",
"status": 405,
"headers": {
"allow": "POST, OPTIONS",
"content-type": "application/json",
"referrer-policy": "no-referrer",
"x-content-type-options": "nosniff",
"x-dns-prefetch-control": "off",
"x-frame-options": "SAMEORIGIN"
},
"body": "{\"error\":\"Method Not Allowed\"}"
},
{
"adapter": "fetch",
"method": "OPTIONS",
"path": "/api/v/c",
"status": 204,
"headers": {
"allow": "POST, OPTIONS",
"referrer-policy": "no-referrer",
"x-content-type-options": "nosniff",
"x-dns-prefetch-control": "off",
"x-frame-options": "SAMEORIGIN"
},
"body": ""
},
{
"adapter": "fetch",
"method": "HEAD",
"path": "/api/v/c",
"status": 405,
"headers": {
"allow": "POST, OPTIONS",
"content-type": "application/json",
"referrer-policy": "no-referrer",
"x-content-type-options": "nosniff",
"x-dns-prefetch-control": "off",
"x-frame-options": "SAMEORIGIN"
},
"body": ""
},
{
"adapter": "fetch",
"method": "GET",
"path": "/api/v/c",
"status": 405,
"headers": {
"allow": "POST, OPTIONS",
"content-type": "application/json",
"referrer-policy": "no-referrer",
"x-content-type-options": "nosniff",
"x-dns-prefetch-control": "off",
"x-frame-options": "SAMEORIGIN"
},
"body": "{\"error\":\"Method Not Allowed\"}"
},
{
"adapter": "fetch",
"method": "HEAD",
"path": "/api/x",
"status": 200,
"headers": {
"content-type": "application/json",
"referrer-policy": "no-referrer",
"x-content-type-options": "nosniff",
"x-dns-prefetch-control": "off",
"x-frame-options": "SAMEORIGIN"
},
"body": ""
},
{
"adapter": "fetch",
"method": "GET",
"path": "/api/x",
"status": 200,
"headers": {
"content-type": "application/json",
"referrer-policy": "no-referrer",
"x-content-type-options": "nosniff",
"x-dns-prefetch-control": "off",
"x-frame-options": "SAMEORIGIN"
},
"body": "{\"from\":\"teapot\",\"route\":\"GET /api/x\"}"
},
{
"adapter": "fetch",
"method": "OPTIONS",
"path": "/api/x",
"status": 204,
"headers": {
"allow": "GET, HEAD, OPTIONS",
"referrer-policy": "no-referrer",
"x-content-type-options": "nosniff",
"x-dns-prefetch-control": "off",
"x-frame-options": "SAMEORIGIN"
},
"body": ""
},
{
"adapter": "fetch",
"method": "PUT",
"path": "/api/x",
"status": 405,
"headers": {
"allow": "GET, HEAD, OPTIONS",
"content-type": "application/json",
"referrer-policy": "no-referrer",
"x-content-type-options": "nosniff",
"x-dns-prefetch-control": "off",
"x-frame-options": "SAMEORIGIN"
},
"body": "{\"error\":\"Method Not Allowed\"}"
},
{
"adapter": "node",
"method": "PUT",
"path": "/api/dup/ping",
"status": 405,
"headers": {
"allow": "GET, HEAD, POST, OPTIONS",
"content-type": "application/json",
"referrer-policy": "no-referrer",
"transfer-encoding": "chunked",
"x-content-type-options": "nosniff",
"x-dns-prefetch-control": "off",
"x-frame-options": "SAMEORIGIN"
},
"body": "{\"error\":\"Method Not Allowed\"}"
},
{
"adapter": "node",
"method": "OPTIONS",
"path": "/api/dup/ping",
"status": 204,
"headers": {
"allow": "GET, HEAD, POST, OPTIONS",
"referrer-policy": "no-referrer",
"x-content-type-options": "nosniff",
"x-dns-prefetch-control": "off",
"x-frame-options": "SAMEORIGIN"
},
"body": ""
},
{
"adapter": "node",
"method": "HEAD",
"path": "/api/dup/ping",
"status": 200,
"headers": {
"content-type": "application/json",
"referrer-policy": "no-referrer",
"x-content-type-options": "nosniff",
"x-dns-prefetch-control": "off",
"x-frame-options": "SAMEORIGIN"
},
"body": ""
},
{
"adapter": "node",
"method": "GET",
"path": "/api/dup/ping",
"status": 200,
"headers": {
"content-type": "application/json",
"referrer-policy": "no-referrer",
"transfer-encoding": "chunked",
"x-content-type-options": "nosniff",
"x-dns-prefetch-control": "off",
"x-frame-options": "SAMEORIGIN"
},
"body": "{\"from\":\"teacup\",\"route\":\"GET /api/dup/ping\"}"
},
{
"adapter": "node",
"method": "POST",
"path": "/api/dup/ping",
"status": 200,
"headers": {
"content-type": "application/json",
"referrer-policy": "no-referrer",
"transfer-encoding": "chunked",
"x-content-type-options": "nosniff",
"x-dns-prefetch-control": "off",
"x-frame-options": "SAMEORIGIN"
},
"body": "{\"from\":\"teapot\",\"route\":\"POST /api/dup/ping\"}"
},
{
"adapter": "node",
"method": "PUT",
"path": "/api/v/b",
"status": 405,
"headers": {
"allow": "GET, HEAD, POST, OPTIONS",
"content-type": "application/json",
"referrer-policy": "no-referrer",
"transfer-encoding": "chunked",
"x-content-type-options": "nosniff",
"x-dns-prefetch-control": "off",
"x-frame-options": "SAMEORIGIN"
},
"body": "{\"error\":\"Method Not Allowed\"}"
},
{
"adapter": "node",
"method": "OPTIONS",
"path": "/api/v/b",
"status": 204,
"headers": {
"allow": "GET, HEAD, POST, OPTIONS",
"referrer-policy": "no-referrer",
"x-content-type-options": "nosniff",
"x-dns-prefetch-control": "off",
"x-frame-options": "SAMEORIGIN"
},
"body": ""
},
{
"adapter": "node",
"method": "HEAD",
"path": "/api/v/b",
"status": 200,
"headers": {
"content-type": "application/json",
"referrer-policy": "no-referrer",
"x-content-type-options": "nosniff",
"x-dns-prefetch-control": "off",
"x-frame-options": "SAMEORIGIN"
},
"body": ""
},
{
"adapter": "node",
"method": "GET",
"path": "/api/v/b",
"status": 200,
"headers": {
"content-type": "application/json",
"referrer-policy": "no-referrer",
"transfer-encoding": "chunked",
"x-content-type-options": "nosniff",
"x-dns-prefetch-control": "off",
"x-frame-options": "SAMEORIGIN"
},
"body": "{\"from\":\"teacup\",\"route\":\"GET /api/v/b\"}"
},
{
"adapter": "node",
"method": "POST",
"path": "/api/v/b",
"status": 200,
"headers": {
"content-type": "application/json",
"referrer-policy": "no-referrer",
"transfer-encoding": "chunked",
"x-content-type-options": "nosniff",
"x-dns-prefetch-control": "off",
"x-frame-options": "SAMEORIGIN"
},
"body": "{\"from\":\"teapot\",\"route\":\"POST /api/v/:id\"}"
},
{
"adapter": "node",
"method": "PUT",
"path": "/api/v/c",
"status": 405,
"headers": {
"allow": "POST, OPTIONS",
"content-type": "application/json",
"referrer-policy": "no-referrer",
"transfer-encoding": "chunked",
"x-content-type-options": "nosniff",
"x-dns-prefetch-control": "off",
"x-frame-options": "SAMEORIGIN"
},
"body": "{\"error\":\"Method Not Allowed\"}"
},
{
"adapter": "node",
"method": "OPTIONS",
"path": "/api/v/c",
"status": 204,
"headers": {
"allow": "POST, OPTIONS",
"referrer-policy": "no-referrer",
"x-content-type-options": "nosniff",
"x-dns-prefetch-control": "off",
"x-frame-options": "SAMEORIGIN"
},
"body": ""
},
{
"adapter": "node",
"method": "HEAD",
"path": "/api/v/c",
"status": 405,
"headers": {
"allow": "POST, OPTIONS",
"content-type": "application/json",
"referrer-policy": "no-referrer",
"x-content-type-options": "nosniff",
"x-dns-prefetch-control": "off",
"x-frame-options": "SAMEORIGIN"
},
"body": ""
},
{
"adapter": "node",
"method": "GET",
"path": "/api/v/c",
"status": 405,
"headers": {
"allow": "POST, OPTIONS",
"content-type": "application/json",
"referrer-policy": "no-referrer",
"transfer-encoding": "chunked",
"x-content-type-options": "nosniff",
"x-dns-prefetch-control": "off",
"x-frame-options": "SAMEORIGIN"
},
"body": "{\"error\":\"Method Not Allowed\"}"
},
{
"adapter": "node",
"method": "HEAD",
"path": "/api/x",
"status": 200,
"headers": {
"content-type": "application/json",
"referrer-policy": "no-referrer",
"x-content-type-options": "nosniff",
"x-dns-prefetch-control": "off",
"x-frame-options": "SAMEORIGIN"
},
"body": ""
},
{
"adapter": "node",
"method": "GET",
"path": "/api/x",
"status": 200,
"headers": {
"content-type": "application/json",
"referrer-policy": "no-referrer",
"transfer-encoding": "chunked",
"x-content-type-options": "nosniff",
"x-dns-prefetch-control": "off",
"x-frame-options": "SAMEORIGIN"
},
"body": "{\"from\":\"teapot\",\"route\":\"GET /api/x\"}"
},
{
"adapter": "node",
"method": "OPTIONS",
"path": "/api/x",
"status": 204,
"headers": {
"allow": "GET, HEAD, OPTIONS",
"referrer-policy": "no-referrer",
"x-content-type-options": "nosniff",
"x-dns-prefetch-control": "off",
"x-frame-options": "SAMEORIGIN"
},
"body": ""
},
{
"adapter": "node",
"method": "PUT",
"path": "/api/x",
"status": 405,
"headers": {
"allow": "GET, HEAD, OPTIONS",
"content-type": "application/json",
"referrer-policy": "no-referrer",
"transfer-encoding": "chunked",
"x-content-type-options": "nosniff",
"x-dns-prefetch-control": "off",
"x-frame-options": "SAMEORIGIN"
},
"body": "{\"error\":\"Method Not Allowed\"}"
}
]
}