Am 20.11.21 um 12:10 schrieb Ralf Mardorf via arch-general:
> The "http://search.cpan.org/"; issue still isn't solved [3].
> 

Interesting. I have no problems with search.cpan.org at all, not even with the 
default agent. I'd guess somehow they identified your ip or ip range as some 
problematic for too many automated downloads?

$ curl  -L 
"http://search.cpan.org/CPAN/authors/id/Y/YE/YEWENBIN/Goo-Canvas-0.06.tar.gz"; 
--output goo-1.tar.gz
$ curl  -L 
"https://search.cpan.org/CPAN/authors/id/Y/YE/YEWENBIN/Goo-Canvas-0.06.tar.gz"; 
--output goo-2-https.tar.gz
$ curl  -L 
"https://cpan.metacpan.org/authors/id/Y/YE/YEWENBIN/Goo-Canvas-0.06.tar.gz"; 
--output goo-3-https-metacpan.tar.gz
$ curl -A archlinux -L 
"https://cpan.metacpan.org/authors/id/Y/YE/YEWENBIN/Goo-Canvas-0.06.tar.gz"; 
--output goo-4-agent-https-metacpan.tar.gz
$ curl -A archlinux -L 
"https://search.cpan.org/CPAN/authors/id/Y/YE/YEWENBIN/Goo-Canvas-0.06.tar.gz"; 
--output goo-5-agent-https.tar.gz
$ curl -A archlinux -L 
"http://search.cpan.org/CPAN/authors/id/Y/YE/YEWENBIN/Goo-Canvas-0.06.tar.gz"; 
--output goo-6-agent.tar.gz
$ md5sum goo-*
7dfe0be8c17bfd641d18384d4fd8fb23  goo-1.tar.gz
7dfe0be8c17bfd641d18384d4fd8fb23  goo-2-https.tar.gz
7dfe0be8c17bfd641d18384d4fd8fb23  goo-3-https-metacpan.tar.gz
7dfe0be8c17bfd641d18384d4fd8fb23  goo-4-agent-https-metacpan.tar.gz
7dfe0be8c17bfd641d18384d4fd8fb23  goo-5-agent-https.tar.gz
7dfe0be8c17bfd641d18384d4fd8fb23  goo-6-agent.tar.gz
$ bsdtar -tf goo-1.tar.gz | head -n2
Goo-Canvas-0.06/
Goo-Canvas-0.06/Changes


By the way, here is a better command for resolving URL redirections:

$ curl -A archlinux -IXGET -Lso /dev/null -w %{url_effective} 
"http://test.greenbytes.de/tech/tc/httpredirects/t307loc.asis";

or with --max-redirs if there are multiple redirects and you only want the 
first stage:

$ curl -IXGET --max-redirs 1 -Lso /dev/null -w %{url_effective} 
"http://test.greenbytes.de/tech/tc/httpredirects/t307loc.asis";

Reply via email to