Skip to content

Commit

Permalink
Merge pull request #459 from ipfs/clarify-accept-format
Browse files Browse the repository at this point in the history
gateway: clarify format negotiation precedence
  • Loading branch information
lidel authored Jan 23, 2024
2 parents f216056 + e569e47 commit 956afd1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/http-gateways/path-gateway.md
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,9 @@ These are the equivalents:
- `format=cbor``Accept: application/cbor`
- `format=ipns-record``Accept: application/vnd.ipfs.ipns-record`

When both `Accept` HTTP header and `format` query parameter are present,
`Accept` SHOULD take precedence.

### `dag-scope` (request query parameter)

Only used on CAR requests, same as :ref[dag-scope] from :cite[trustless-gateway].
Expand Down

0 comments on commit 956afd1

Please sign in to comment.