Closed adrianreber closed 8 years ago
Fixes #178
Looks sane to me.
Do we want to plan unit-tests for these changes?
How would unit-tests look like for the mirrorlist server?
Generate a small pkl, start the mirrolist server and query all possible mirrorlist/metalink combinations?
oh shoot, missed that it was the mirrorlist, your approach seems right yes.
@pypingou now with a loop over all URLs
Cool, :+1: for me :)
The commits
ed7e45903f381a07395b7960a719934414c7c8f5 236532af7a46d50930bdc3f9c8386a063d5960cf
which were used to support the '&protocol=' option broke the mirrorlist option to answer with a HTTP redirect (302). This fixes the redirect code path to also work with the new data format returned by the mirrorlist server.
Signed-off-by: Adrian Reber adrian@lisas.de