Skip to content

Conversation

@rvagg
Copy link
Member

@rvagg rvagg commented Oct 11, 2025

  • Add Accept vs format parameter precedence
  • Clarify 404 vs streaming behavior for missing blocks
  • Document Cache-Control: only-if-cached (412 response)
  • Add X-Ipfs-Roots guidance for streaming gateways
  • Document Etag implementation variance
  • Add Content-Disposition filename guidance (.car vs .bin)
  • Improve wording (CAR stream vs CAR file)

- Add Accept vs format parameter precedence
- Clarify 404 vs streaming behavior for missing blocks
- Document Cache-Control: only-if-cached (412 response)
- Add X-Ipfs-Roots guidance for streaming gateways
- Document Etag implementation variance
- Add Content-Disposition filename guidance (.car vs .bin)
- Improve wording (CAR stream vs CAR file)
@rvagg rvagg requested a review from lidel as a code owner October 11, 2025 03:54
@github-actions
Copy link

github-actions bot commented Oct 11, 2025

🚀 Build Preview on IPFS ready

@rvagg
Copy link
Member Author

rvagg commented Oct 11, 2025

For some background: the lens I'm using here is as someone who doesn't care much about the expansive definitions of "gateway" but only narrowly in the trustless portion of this, and only the pure CAR + raw block version as per the trustless spec. But because trustless says that it builds on the path spec, I have to care about the path spec but it contains a lot of extraneous information. So I've tried to bring local clarity into the trustless spec to highlight those things in path that are relevant. Plus, some additional clarifications I thought were warranted now I'm doing another pass on this and cleaning up frisbii to match.

lidel added 2 commits October 14, 2025 00:06
- move Cache-Control: only-if-cached to request headers section
- remove X-Ipfs-Path and X-Ipfs-Roots response headers section
- update editor affiliations and reorganize contributors
- update dates to 2025-10-13
specify that X-Ipfs-Path and X-Ipfs-Roots headers should be returned
with deserialized responses, and may be omitted with trustless response
types (raw blocks and CAR)
Copy link
Member

@lidel lidel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @rvagg lgtm, pushed small editorial changes, only change is to remove X-Ipfs-Path and X-Ipfs-Roots – see comment inline.

Lmk if these changes are acceptable.

@rvagg
Copy link
Member Author

rvagg commented Oct 14, 2025

cool, lgtm

@lidel lidel merged commit 110bf46 into main Oct 18, 2025
5 checks passed
@lidel lidel deleted the rvagg/trustless-update branch October 18, 2025 04:20
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.

3 participants