* - resume: int, byte offset to start the download from;
* if the server supports ranges
* - range: array, array of arrays, each containing two integers,
* - resume: int, byte offset to start the download from;
* if the server supports ranges
* - range: array, array of arrays, each containing two integers,