Skip to content

best way to save what you love

api/stream: remove content-length estimation from proxy()

jj52b7f9523f50
diff --git a/api/src/stream/types.js b/api/src/stream/types.js
index 4f665c5a..1e270df8 100644
--- a/api/src/stream/types.js
+++ b/api/src/stream/types.js
@@ -73,7 +73,6 @@ const proxy = async (streamInfo, res) => {
try {
res.setHeader('Cross-Origin-Resource-Policy', 'cross-origin');
res.setHeader('Content-disposition', contentDisposition(streamInfo.filename));
- res.setHeader('Estimated-Content-Length', await estimateTunnelLength(streamInfo));
const { body: stream, headers, statusCode } = await request(streamInfo.urls, {
headers: {