Skip to content

Commit

Permalink
ipip-445: HTTP 400 on raw root cid
Browse files Browse the repository at this point in the history
  • Loading branch information
lidel committed Oct 25, 2023
1 parent 131b29d commit 3286e7f
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions src/http-gateways/trustless-gateway.md
Original file line number Diff line number Diff line change
Expand Up @@ -196,14 +196,8 @@ It accepts two values:

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

:::note Notes for implementers

A `skip-raw-blocks=y` request for a content path with `raw` root CID does not
make sense and SHOULD NOT be sent by clients.

A Gateway SHOULD return HTTP error 400 Bad Request

:::
A Gateway MUST return HTTP error 400 Bad Request when `skip-raw-blocks=y` is
sent for a content path with a root CID with the `raw` multicodec.

# HTTP Response

Expand Down

0 comments on commit 3286e7f

Please sign in to comment.