diff --git a/pacman_mirrors/httpfn.py b/pacman_mirrors/httpfn.py index 50899f9d32e80b29859256d0df701715df6e0ade..57226a0f08e8cb6b05547691ff71a2e931903947 100644 --- a/pacman_mirrors/httpfn.py +++ b/pacman_mirrors/httpfn.py @@ -104,7 +104,7 @@ def get_mirror_response(url, maxwait=2, count=1, quiet=False): message = "" try: for _ in range(count): - urlopen(url, timeout=maxwait) + urlopen(url + "state", timeout=maxwait) probe_stop = time.time() except URLError as err: if hasattr(err, "reason"):