Page MenuHomeSoftware Heritage

swh.web.client: Override python-requests default user agent, and strongly encourage users to add some information
Closed, MigratedEdits Locked

Description

swh.web.client only reports the default python-requests user agent.

We should at least override the default value to report the swh.web.client version number.

It would also be sensible to strongly encourage users to add their own identifier to this string, so we can get some relevant usage statistics out of our access logs.