mirror of
https://github.com/ytdl-org/youtube-dl
synced 2026-02-17 15:29:20 +00:00
Always do this if possible, i.e. if Content-Length or expected length is known, not only in test. This will save unnecessary last extra loop trying to read 0 bytes.