Actions
Issue #6954
closedPulp should provide a User Agent on all requests it makes
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Sprint 75
Quarter:
Description
Many upstream repositories such as PyPI [0] request that all mirroring tools provide a User Agent to identify themselves. Pulp does not currently do this.
Here is an example of the User Agent that Bandersnatch provides:
'bandersnatch/4.1.0.dev0 (cpython 3.8.3-final0, Linux x86_64) (aiohttp 3.6.2)'
And the code that produces it:
[0] https://www.python.org/dev/peps/pep-0381/#user-agent-request-header
Actions
Add a user-agent string to all of Pulp's aiohttp requests
closes: #6954 https://pulp.plan.io/issues/6954