fix: saving streaming progress on retry
This commit is contained in:
parent
1bf04439f0
commit
19b83ce880
@ -366,6 +366,7 @@ class Connection:
|
|||||||
if retry:
|
if retry:
|
||||||
self.LOGGER.warning(f"Retrying stream...")
|
self.LOGGER.warning(f"Retrying stream...")
|
||||||
accepted_response_codes.add(206)
|
accepted_response_codes.add(206)
|
||||||
|
stream_kwargs["progress"] = progress
|
||||||
return Connection.stream_into(**stream_kwargs)
|
return Connection.stream_into(**stream_kwargs)
|
||||||
|
|
||||||
return DownloadResult()
|
return DownloadResult()
|
||||||
|
Loading…
Reference in New Issue
Block a user