From 36a741a87b74eaea1fb9631809c8a55870d00574 Mon Sep 17 00:00:00 2001 From: hzrd149 Date: Sat, 23 Nov 2024 09:26:38 -0600 Subject: [PATCH 1/2] add range requests section to BUD-01 --- buds/01.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/buds/01.md b/buds/01.md index e94b8d4..a9cd558 100644 --- a/buds/01.md +++ b/buds/01.md @@ -134,3 +134,9 @@ Example event for retrieving multiple blobs from single server: The `HEAD /` endpoint MUST respond with either a `200` or `404` status code The endpoint MUST accept an optional file extension in the URL similar to the `GET /` endpoint. ie. `.pdf`, `.png`, etc + +## Range requests + +To better support mobile devices or low bandwidth connections. server should support range requests ([RFC 7233 section 3](https://www.rfc-editor.org/rfc/rfc7233#section-3)) on the `GET /` endpoint and signal support using the `accept-ranges: bytes` and `content-length` headers on the `HEAD /` endpoint + +See [MDN docs](https://developer.mozilla.org/en-US/docs/Web/HTTP/Range_requests) for more details From c99b4898f5e7208cf4799852a90e6ef3e31ca187 Mon Sep 17 00:00:00 2001 From: hzrd149 Date: Mon, 2 Dec 2024 10:56:43 -0600 Subject: [PATCH 2/2] add comment about videos --- buds/01.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buds/01.md b/buds/01.md index a9cd558..a087c94 100644 --- a/buds/01.md +++ b/buds/01.md @@ -137,6 +137,6 @@ The endpoint MUST accept an optional file extension in the URL similar to the `G ## Range requests -To better support mobile devices or low bandwidth connections. server should support range requests ([RFC 7233 section 3](https://www.rfc-editor.org/rfc/rfc7233#section-3)) on the `GET /` endpoint and signal support using the `accept-ranges: bytes` and `content-length` headers on the `HEAD /` endpoint +To better support mobile devices, video files, or low bandwidth connections. servers should support range requests ([RFC 7233 section 3](https://www.rfc-editor.org/rfc/rfc7233#section-3)) on the `GET /` endpoint and signal support using the `accept-ranges: bytes` and `content-length` headers on the `HEAD /` endpoint See [MDN docs](https://developer.mozilla.org/en-US/docs/Web/HTTP/Range_requests) for more details