kubo icon indicating copy to clipboard operation
kubo copied to clipboard

feat(gateway): IPIP-0524 Gateway.AllowCodecConversion config option

Open lidel opened this issue 1 month ago • 0 comments

Wire up boxo's AllowCodecConversion config to control codec conversion behavior per IPIP-0524. When false (default), the gateway returns 406 Not Acceptable if the requested format doesn't match the block's codec.

Clients should fetch raw blocks (?format=raw) and convert client-side.

  • Ref: https://github.com/ipfs/specs/pull/524
  • Ref: https://github.com/ipfs/boxo/pull/1077
  • Ref: https://github.com/ipfs/gateway-conformance/pull/254

TODO

  • [ ] land boxo in main and switch this pr to that
  • [ ] release gateway conformance and switch this pr's workflow to release

lidel avatar Dec 03 '25 04:12 lidel