Skip to content

Conversation

@lidel
Copy link
Member

@lidel lidel commented Dec 3, 2025

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.

TODO

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

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: ipfs/specs#524
Ref: ipfs/boxo#1077
Ref: ipfs/gateway-conformance#254
@lidel lidel force-pushed the feat/ipip-0524-codec-conversion-config branch from 2a78d61 to 60e5668 Compare December 3, 2025 04:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants