diff --git a/src/modules/stream/internal.js b/src/modules/stream/internal.js index db39fb05..75e18ece 100644 --- a/src/modules/stream/internal.js +++ b/src/modules/stream/internal.js @@ -77,7 +77,10 @@ export async function internalStream(streamInfo, res) { try { const req = await request(streamInfo.url, { - headers: streamInfo.headers, + headers: { + ...streamInfo.headers, + host: undefined + }, signal: streamInfo.controller.signal, maxRedirections: 16 });