Open da2x opened 2 years ago
Sounds like the draft you linked attempts to compliment/supersede actual RFCs:
Given this one is still a draft, but introduces Content-Digest
and Want-Content-Digest:
header that offers new "protocol upgrade" possibilities, let's keep it open for now and see how it goes.
Obligatory note on Verifiable Gateway responses: The usual nuance here is that for bigger files, a CID is not a hash of a file, but the root of a DAG representing chunked data. This means one can't verify the hash without fetching additional metadata about the DAG somehow. Related reading: https://github.com/ipfs/in-web-browsers/issues/128
24 December 2022 update: https://httpwg.org/http-extensions/draft-ietf-httpbis-digest-headers.html
The digest bits still moving forward, latest update Feb 2024: https://datatracker.ietf.org/doc/html/rfc9530
A heads up about draft-ietf-httpbis-digest-headers-06:
It’s an IETF standardization effort of interest to IPFS integration efforts into web browsers. The standardized
Content-Digest: cid=bafy..
response header could replacex-ipfs-path: /ipfs/bafy..
. The standardizedWant-Content-Digest: cid
request header could be used by clients to indicate they support IPFS.