best way to save what you love
Svelte collaborationdownloaderinstagramjavascriptmusicredditsocial-mediasoundcloudsveltetiktoktwittertypescriptvideovimeovkwebappyoutubeyoutube-downloader
stream/internal: don't copy Host header from request
dumbmorondd56ae60e76b
diff --git a/src/modules/stream/internal.js b/src/modules/stream/internal.jsindex 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});