Skip to content

_downloadablefilesource.py: Set user agent

William Salmon requested to merge willsalmon/useragnet into master

Description

resolves #1285 (closed)

The default user-agnet for urllib is widely used for many bots and so is blocked by many servers. Buy using our own then we we are not blocked by gitlab.com etc and are also able to identify buildstream request to servers.

Proposed changes

Add a bst spesific user-agent to our http requests.

Edited by William Salmon

Merge request reports