Skip to content

Customize the user-agent header in deposit client classes

use a user agent like 'swh-deposit/<deposit_version>'.

Also use a requests.Session object in deposit client classes this allows to make it easier to customize headers (eg. to customize the user-agent).


Migrated from D4459 (view on Phabricator)

Merge request reports

Loading