Project

Profile

Help

Task #9592

closed

Accept custom downloader factory in the Remote.get_downloader() method

Added by ttereshc over 2 years ago. Updated over 2 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Category:
-
Sprint/Milestone:
Start date:
Due date:
% Done:

100%

Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Sprint 110
Quarter:

Description

If the only change for the download functionality is happening as a part of a downloader factory, Remote.get_downloader code would be copy-pasted only for the sake of using a different downloader factory.

Add an optional parameter downloader_factory to the Remote.get_downloader. It should default to download factory configured on a remote to preserve the current behaviour.

Also available in: Atom PDF