Refactor download, todo : Accept-ranges