mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-10-04 13:14:57 -04: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.