https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=251216
--- Comment #3 from [email protected] --- Just tried again, same results: % fetch https://github.com/amir/sctd/archive/0.2.0.tar.gz fetch: https://github.com/amir/sctd/archive/0.2.0.tar.gz: Moved Temporarily % uname -a FreeBSD w520.local 12.2-RELEASE FreeBSD 12.2-RELEASE r366954 GENERIC amd64 % freebsd-version -u 12.2-RELEASE % freebsd-version -k 12.2-RELEASE % host github.com github.com has address 140.82.121.3 github.com mail is handled by 1 aspmx.l.google.com. github.com mail is handled by 10 alt3.aspmx.l.google.com. github.com mail is handled by 10 alt4.aspmx.l.google.com. github.com mail is handled by 5 alt1.aspmx.l.google.com. github.com mail is handled by 5 alt2.aspmx.l.google.com. % dog !$ dog github.com A github.com. 54s 140.82.121.3 Its just that fetch(1) has a problem with HTTP 302 redirection. When you see the wget(1) output then after redirection it is downloaded from https://codeload.github.com/amir/sctd/tar.gz/0.2.0 location and this one works even with fetch(1). % fetch https://codeload.github.com/amir/sctd/tar.gz/0.2.0 fetch: https://codeload.github.com/amir/sctd/tar.gz/0.2.0: size of remote file is not known 0.2.0 8629 B 10 MBps 00s % ls -l 0.2.0 0.2.0.tar.gz -rw-r--r-- 1 vermaden vermaden 8629 2020-11-17 17:49 0.2.0 -rw-r--r-- 1 vermaden vermaden 8629 2020-11-17 14:31 0.2.0.tar.gz % file 0.2.0 0.2.0.tar.gz 0.2.0: gzip compressed data, from Unix, original size modulo 2^32 40960 0.2.0.tar.gz: gzip compressed data, from Unix, original size modulo 2^32 40960 -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ [email protected] mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "[email protected]"
