From 4aab9886ed2cc780ed5ec5b29f5a2c844825cd78 Mon Sep 17 00:00:00 2001 From: Daniel Silhavy Date: Mon, 8 Jan 2024 18:03:59 +0100 Subject: [PATCH] Include HTTP request range in data that is passed to the modifyRequest function --- src/streaming/utils/RequestModifier.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/streaming/utils/RequestModifier.js b/src/streaming/utils/RequestModifier.js index 80ff3e943f..c5ca5f1e26 100644 --- a/src/streaming/utils/RequestModifier.js +++ b/src/streaming/utils/RequestModifier.js @@ -37,6 +37,7 @@ export function modifyRequest(httpRequest, requestModifier) { method: httpRequest.method, headers: Object.assign({}, httpRequest.headers), credentials: httpRequest.withCredentials ? 'include' : undefined, + range: httpRequest.request.range, }; return Promise.resolve(requestModifier.modifyRequest(request))