You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/http-gateways/trustless-gateway.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -445,7 +445,7 @@ A Client MUST confirm the record signature match `libp2p-key` from the requested
445
445
446
446
A Client MUST [perform additional record verification according to the IPNS specification](https://specs.ipfs.tech/ipns/ipns-record/#record-verification).
447
447
448
-
# Notes for implementers
448
+
# Appendix: Notes for implementers
449
449
450
450
## Dedicated Probe Paths
451
451
@@ -456,13 +456,13 @@ Trustless gateways SHOULD provide probing endpoints as described below.
456
456
`bafkqaaa` is the identity empty CID. This endpoint can be used to probe that
457
457
that the endpoint corresponds to a trustless gateway.
458
458
459
-
For block requests (`?format=raw`), when supported, it MUST return `200 OK`
459
+
For block requests (signaled by `?format=raw` and `Accept: application/vnd.ipld.raw`), when supported, it MUST return `200 OK`
460
460
and an empty body.
461
461
462
-
For CAR requests (`?format=car`), when supported, it MUST return `200 OK` and a valid CAR file with CAR Header `roots` set to `bafkqaaa`. Identity block MAY be skipped in the CAR Data section.
462
+
For CAR requests (signaled by `?format=car` and `Accept: application/vnd.ipld.car`), when supported, it MUST return `200 OK` and a valid CAR file with CAR Header `roots` set to `bafkqaaa`. Identity block MAY be skipped in the CAR Data section.
463
463
464
464
This specific identity CID is special for probing. Other random
465
-
identity CIDs SHOULD not be handled.
465
+
identity CIDs MAY not be handled.
466
466
467
467
### `HEAD /ipfs/bafkqaaa`
468
468
@@ -472,4 +472,4 @@ MUST support [`HEAD` requests](#head-ipfs-cid-path-params).
472
472
It must return `200 OK` in all cases.
473
473
474
474
This specific identity CID is special for probing. Other random
0 commit comments