ipfs / ipfs/specs

Range header cannot be used by browsers

Open
#525 0 comments 0 reactions 0 assignees View on GitHub
need/triage
Dominant language
HTML
Stars
1.2k
Forks
247
Avg merge
5d 21h
Merged PRs (30d)
4

Description

The IPFS HTTP Gateway specs make reference to the [Range](https://specs.ipfs.tech/http-gateways/path-gateway/#range-request-header) header - using this from browsers is hard since headers can't be specified in hyperlinks or typed into the address bar.

There is a similar `entity-bytes` query param exists but it only works with `format=car`.

If [Range](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Range) is a useful header we should add a `range=...` param that can be used to override the header value in a similar way to `format` and [Accept](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Accept).

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.