MugunthKumar/MKNetworkKit — Issue #23: Download progress indicator does not reflect total progress when resuming download
Author: blackgold9
Created: 2012-01-04 20:34:52+00:00
State: open

When resuming a download using the Range header, the Progress value indicates progress on the remaining ammount, not taking into account the resumed file size.
I.E. 1MB file resumed at 500k reports progress starting at 0% instead of 50%

It would make sense for me to take the entire size into account. Those who want the current behaviour could work backwards from the information returned. I envision returning currentPostion and expectedContentLength, calculating currentposition by data size + Range header value. Does this make sense? If so, i could just submit a pull request