Issue #6954
Updated by dalley about 4 years ago
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: provides [1] https://github.com/pypa/bandersnatch/blob/1393dbc57a3dd67afd4c3b588ddfd4f8bc1e0de0/src/bandersnatch/utils.py#L23-L31 https://github.com/pypa/bandersnatch/blob/d816a853b57b1eb38643c4d32a371e67d5fc55a3/src/bandersnatch/master.py#L50 [0] https://www.python.org/dev/peps/pep-0381/#user-agent-request-header [1] https://github.com/pypa/bandersnatch/blob/1393dbc57a3dd67afd4c3b588ddfd4f8bc1e0de0/src/bandersnatch/utils.py#L23-L31