Omit HTTP mirrors that also support HTTPS

Description:

Many mirrors support both HTTP and HTTPS, so both are included in the mirrorlist. E.g.:

#Server = http://mirror.rackspace.com/archlinux/$repo/os/$arch
#Server = https://mirror.rackspace.com/archlinux/$repo/os/$arch

There is no reason to not use HTTPS when it is available, so, IMO, there is no reason to list HTTP mirrors if they also support HTTPS.

Additional info:

  • package version(s): pacman-mirrorlist 20251021-1
  • config and/or log files:
  • link to upstream bug report, if any:

Steps to reproduce:

  1. cat /etc/pacman.d/mirrorlist