diff --git a/src/streaming/net/FetchLoader.js b/src/streaming/net/FetchLoader.js index 0be29580f3..b35339ed01 100644 --- a/src/streaming/net/FetchLoader.js +++ b/src/streaming/net/FetchLoader.js @@ -86,6 +86,8 @@ function FetchLoader(cfg) { setRequestHeader: function (header, value) { headers.append(header, value); } + }, { + url: httpRequest.url }); } diff --git a/src/streaming/net/XHRLoader.js b/src/streaming/net/XHRLoader.js index 81d352479b..cd58bd7daf 100644 --- a/src/streaming/net/XHRLoader.js +++ b/src/streaming/net/XHRLoader.js @@ -65,7 +65,9 @@ function XHRLoader(cfg) { } if (requestModifier) { - xhr = requestModifier.modifyRequestHeader(xhr); + xhr = requestModifier.modifyRequestHeader(xhr, { + url: httpRequest.url + }); } if (httpRequest.headers) {