Skip to content

Commit

Permalink
Update http-gateways/PATH_GATEWAY.md
Browse files Browse the repository at this point in the history
Co-authored-by: Marcin Rataj <lidel@lidel.org>
  • Loading branch information
hacdias and lidel committed Jun 30, 2022
1 parent eb4d040 commit 262979f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion http-gateways/PATH_GATEWAY.md
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,9 @@ Optional, `format=<format>` can be used to request specific response format.

This is a URL-friendly alternative to sending
`Accept: application/vnd.ipld.<format>` header, see [`Accept`](#accept-request-header)
for more details. In case of `application/x-tar`, `<format>` is `tar`.
for more details.

In case of `Accept: application/x-tar`, the `?format=` equivalent is `tar`.

<!-- TODO Planned: https://github.com/ipfs/go-ipfs/issues/8769
- `selector=<cid>` can be used for passing a CID with [IPLD selector](https://ipld.io/specs/selectors)
Expand Down

0 comments on commit 262979f

Please sign in to comment.