Add support for multiple bundle download locations
As there was an issue with S3 storage over the weekend we want to be able to get the key bundle from multiple locations.
- target_host.json should be able to contain multiple targets for downloading bundle. So instead of directly having bundleUrl and keyUrl, it should be a list of objects containing bundleUrl and keyUrl.
- Use the HTTP HEAD method to check which was most recently updated and pick that one as key bundle to use.
- If there are errors while fetching data, then other available locations should be tested as fallback.
Here's a MR which might serve as inspiration: !46
Edited by Daniel Swärd