Resuming the HTTP Download of a File and HTTP compression

iMath redstone-cold at 163.com
Wed Aug 7 05:12:29 EDT 2013


the file I want to download is 1000000 bytes uncompressed, the downloads was interrupted when 5000 bytes compressed data was transmitted .If I want to Resuming the HTTP Download ,I wonder what value of the HTTP Range header should be ,“bytes=5000-“ or “bytes= <os.path.getsize(downloadedPart)>-”? why ?



More information about the Python-list mailing list