Skip to content

Commit 3286e7f

Browse files
committed
ipip-445: HTTP 400 on raw root cid
Ref. #445 (comment)
1 parent 131b29d commit 3286e7f

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

src/http-gateways/trustless-gateway.md

+2-8
Original file line numberDiff line numberDiff line change
@@ -196,14 +196,8 @@ It accepts two values:
196196

197197
When not specified a gateway implementation MUST assume `n`.
198198

199-
:::note Notes for implementers
200-
201-
A `skip-raw-blocks=y` request for a content path with `raw` root CID does not
202-
make sense and SHOULD NOT be sent by clients.
203-
204-
A Gateway SHOULD return HTTP error 400 Bad Request
205-
206-
:::
199+
A Gateway MUST return HTTP error 400 Bad Request when `skip-raw-blocks=y` is
200+
sent for a content path with a root CID with the `raw` multicodec.
207201

208202
# HTTP Response
209203

0 commit comments

Comments
 (0)