Skip to content

Commit

Permalink
add 400
Browse files Browse the repository at this point in the history
  • Loading branch information
hacdias committed Nov 16, 2022
1 parent ba09206 commit 6d7f8f0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions http-gateways/PATH_GATEWAY.md
Original file line number Diff line number Diff line change
Expand Up @@ -609,6 +609,9 @@ The following response formats are selected according to the codec of the resolv
- If the `Accept` header includes `text/html`: generated HTML with options to download DAG-CBOR as-is, or converted to DAG-JSON.
- Bytes representing a DAG-CBOR file, see [application/vnd.ipld.dag-cbor](https://www.iana.org/assignments/media-types/application/vnd.ipld.dag-cbor)

Pathing through JSON, CBOR, DAG-JSON and DAG-CBOR returns an HTTP error 400 Bad
Request unless it resolves to a CID.

The following response types can only be requested with [`format`](#format-request-query-parameter) query parameter or [`Accept`](#accept-request-header) header:

- Raw Block
Expand Down

0 comments on commit 6d7f8f0

Please sign in to comment.