ipfs / helia-verified-fetch

A fetch-like API for obtaining verified & trustless IPFS CIDs on the web
https://npmjs.com/package/@helia/verified-fetch
Other
19 stars 5 forks source link

@helia/verified-fetch: HTTP Range request support #9

Closed lidel closed 8 months ago

lidel commented 8 months ago

Ref.

We only care about supporting single/first range for parity with Kubo/Rainbow and the majority of browsers doing things like video streaming.

iiuc we have offset and length support in https://ipfs.github.io/js-ipfs-unixfs/interfaces/ipfs_unixfs_exporter.ExporterOptions.html , remaining work in @helia/verified-fetch is to wire up offset and length when Range header is present in the request.

SgtPooki commented 8 months ago

FYI: https://github.com/ipfs/specs/issues/465