mirror of https://github.com/yt-dlp/yt-dlp
Revert erroneous use of the `Content-Length` header (#637)
This reverts commit 6c907eb33f
The use of the Content-Length value here is erroneous and may lead
to truncated downloads if a compression scheme is specified in the
Content-Encoding header, as the Content-Length header refers to the
size of encoded data, not of the raw bytestream. This has been noticed
in the wild with WebVTT subtitle segments.
Authored by: fstirlitz
pull/691/head
parent
a8731fcc1d
commit
0715f7e19b
Loading…
Reference in New Issue