@helia/verified-fetch: HTTP Range request support
lidel opened this issue · 1 comments
lidel commented
Ref.
- https://specs.ipfs.tech/http-gateways/path-gateway/#range-request-header
- https://developer.mozilla.org/en-US/docs/Web/HTTP/Range_requests
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
FYI: ipfs/specs#465