Skip to content

Commit

Permalink
Pass url to RequestModifier.modifyRequestHeader (Dash-Industry-Forum#…
Browse files Browse the repository at this point in the history
  • Loading branch information
lkinasiewicz committed Jul 21, 2022
1 parent b903950 commit 530d781
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/streaming/net/FetchLoader.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,8 @@ function FetchLoader(cfg) {
setRequestHeader: function (header, value) {
headers.append(header, value);
}
}, {
url: httpRequest.url
});
}

Expand Down
4 changes: 3 additions & 1 deletion src/streaming/net/XHRLoader.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,9 @@ function XHRLoader(cfg) {
}

if (requestModifier) {
xhr = requestModifier.modifyRequestHeader(xhr);
xhr = requestModifier.modifyRequestHeader(xhr, {
url: httpRequest.url
});
}

if (httpRequest.headers) {
Expand Down

0 comments on commit 530d781

Please sign in to comment.