[downloader/http] Request last data block of exact remaining size
authorSergey M․ <dstftw@gmail.com>
Tue, 5 May 2020 14:30:27 +0000 (21:30 +0700)
committerSergey M․ <dstftw@gmail.com>
Tue, 5 May 2020 14:43:39 +0000 (21:43 +0700)
commit6c907eb33ffd79ef9c4761c6460acb31b2eded46
tree836e1807c949b0005312c17380c8dc71d43f4db2
parentf7b42518dc4c10d6027bfe7f5e7f186d526b1a4b
[downloader/http] Request last data block of exact remaining size

Always request last data block of exact size remaining to download if possible not the current block size.
youtube_dl/downloader/http.py