Skip to content

Commit

Permalink
Include HTTP request range in data that is passed to the modifyReques…
Browse files Browse the repository at this point in the history
…t function (#4350)
  • Loading branch information
dsilhavy committed Jan 8, 2024
1 parent 3116846 commit 73c408e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/streaming/utils/RequestModifier.js
Expand Up @@ -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))
Expand Down

0 comments on commit 73c408e

Please sign in to comment.