test_urls.py failing with https://ci.guix.gnu.org/
This website [0] is used for fetching the guix-lastest images but it seems that this website does not support returning headers only, e.g:
> curl -I "https://ci.guix.gnu.org/"
HTTP/1.1 404 Not Found
Server: nginx
Date: Mon, 13 Dec 2021 11:28:01 GMT
Content-Type: text/plain;charset=utf-8
Content-Length: 21
Connection: keep-alive
We rely on getting the headers to verify that the url for the image is not broken.
I also tried to use Range header to download only part of the guix-latext .iso but that didn't work as well. That website does not have support for that either.
What is the preferable way to handle this? I can think of:
- Dropping guix-latest from the test.
- Changing the test_urls.py to download only the first few bytes of (all?) image.
Edited by Victor Toso