Actions
Task #9591
closedMake user_agent generation available via plugin API
Start date:
Due date:
% Done:
100%
Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Sprint 110
Quarter:
Description
Pulpcore implementation of DownloaderFactory sets User-Agent header.
To generate the user agent value user_agent()
function is used.
Make this function a static method of the DownloaderFactory class, so it's available for plugin writers who subclass and customize a DownloaderFactory.
Actions
Move user_agent into DownloaderFactor to expose it in plugin API.
closes #9591 https://pulp.plan.io/issues/9591