_downloadablefilesource.py: Set user agent
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
Activity
Please register or sign in to reply