mirror of
https://github.com/wukko/cobalt.git
synced 2025-01-22 10:46:19 +01:00
api/stream: remove content-length estimation from proxy()
This commit is contained in:
parent
78d0670f50
commit
52b7f9523f
1 changed files with 0 additions and 1 deletions
|
@ -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: {
|
||||
|
|
Loading…
Reference in a new issue