Please provide release-file URL that file is always downloaded directly regardless of User-Agent header of HTTP request
Please provide release-file URL that satisfies following 2 conditions.
I'm a volunteer of FreeBSD Ports Collection. It helps FreeBSD user to install 3rd-party applications. Among ports collection there are some
applications hosted by OSDN. When they are installed, source archives are downloaded from one of OSDN mirror servers. And we have a problem
about specifying download URL. In FreeBSD ports it is specified as variable of Makefile. And currently URLs of source archives hosted by
OSDN are specified as following.
.for mirror in aarnet acc c3sl cznic gigenet iij jaist nchc onet osdn pumath rwthaachen ymu
This means archives are tried to be downloaded from aarnet.dl.osdn.jp at first. And if it fails then from acc.dl.osdn.jp next, and so on.
Looking at this you must have question that why release-file URLs documented in File Release Guide aren't used. It is because of program
used to download archives. In FreeBSD base system there is a command named fetch. It is similar utility as wget or curl and FreeBSD ports
use it to download files. But it adds different User-Agent header from ones that wget or curl add. So if we access official release-file URLs
with fetch, we will get not archive files but some html file for web browser. This is why we are now forced to use undocumented URLs and
also reason to make feature request as above.
Please consider it.