From 41dfaac461794c16072532eba9da19804b457cf0 Mon Sep 17 00:00:00 2001 From: Jonathan de Jong Date: Wed, 3 Nov 2021 12:18:03 +0100 Subject: [PATCH 1/3] first draft --- proposals/xxxx-http-range.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 proposals/xxxx-http-range.md diff --git a/proposals/xxxx-http-range.md b/proposals/xxxx-http-range.md new file mode 100644 index 00000000..ee712714 --- /dev/null +++ b/proposals/xxxx-http-range.md @@ -0,0 +1,18 @@ +# MSCXXXX: HTTP Range on content repository + +## Proposal + +This MSC aims to make HTTP Range capability *mandatory* on the content repository fetch endpoint. + +[HTTP Range](https://developer.mozilla.org/en-US/docs/Web/HTTP/Range_requests) is a Header-based +method by which browsers and other clients can request a certain byte-range of a file. + +Most modern browsers depend on this mechanism to scrub through video footage, and the absence would +make some media playback unable to be scrubbed through. + +This would only affect CS endpoint `/_matrix/media/v3/download/{serverName}/{mediaId}`. + +## Unstable prefix + +This MSC would only add a well-known HTTP capability to an existing endpoint, which can easily be +ignored by existing clients, I think it's overkill to require an unstable prefix for this. \ No newline at end of file From fc06ccd39b21df6e0cf6debedb2c6127bccd1baf Mon Sep 17 00:00:00 2001 From: Jonathan de Jong Date: Wed, 3 Nov 2021 12:18:54 +0100 Subject: [PATCH 2/3] rename --- proposals/{xxxx-http-range.md => 3469-http-range.md} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename proposals/{xxxx-http-range.md => 3469-http-range.md} (91%) diff --git a/proposals/xxxx-http-range.md b/proposals/3469-http-range.md similarity index 91% rename from proposals/xxxx-http-range.md rename to proposals/3469-http-range.md index ee712714..2d30fe3b 100644 --- a/proposals/xxxx-http-range.md +++ b/proposals/3469-http-range.md @@ -1,4 +1,4 @@ -# MSCXXXX: HTTP Range on content repository +# MSC3469: HTTP Range on content repository ## Proposal From 302df5509728153e62c9731fa63981dd7c6f48cd Mon Sep 17 00:00:00 2001 From: Jonathan de Jong Date: Wed, 3 Nov 2021 12:27:46 +0100 Subject: [PATCH 3/3] add additional context --- proposals/3469-http-range.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/proposals/3469-http-range.md b/proposals/3469-http-range.md index 2d30fe3b..3d9e988c 100644 --- a/proposals/3469-http-range.md +++ b/proposals/3469-http-range.md @@ -12,6 +12,12 @@ make some media playback unable to be scrubbed through. This would only affect CS endpoint `/_matrix/media/v3/download/{serverName}/{mediaId}`. +## Additional context + +Related: https://github.com/vector-im/element-web/issues/4265 + +This MSC is to make the behavior standard, and consistent across the matrix ecosystem. + ## Unstable prefix This MSC would only add a well-known HTTP capability to an existing endpoint, which can easily be