[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
wget2 | Redirect/mirror regression since 400713ca (#698)
From: |
luk1337 (@luk1337) |
Subject: |
wget2 | Redirect/mirror regression since 400713ca (#698) |
Date: |
Thu, 05 Jun 2025 19:21:32 +0000 |
luk1337 created an issue: https://gitlab.com/gnuwget/wget2/-/issues/698
When downloading a file with link + location headers, I expect it to be
downloaded once, not twice. However, since Fedora backported 400713ca
(https://src.fedoraproject.org/rpms/wget2/c/ed66a50ca2d6407c7b82e4bd3369938ce3a96a24),
the following regression is now present:
```
$ curl -I
https://mirrorbits.lineageos.org/tools/copy-partitions-20220613-signed.zip
HTTP/1.1 302 Found
Server: nginx/1.18.0 (Ubuntu)
Date: Thu, 05 Jun 2025 19:16:54 GMT
Content-Type: text/html; charset=utf-8
Connection: keep-alive
Cache-Control: private, no-cache
Link:
<https://lineageos.mirror.karneval.cz/tools/copy-partitions-20220613-signed.zip>;
rel=duplicate; pri=1; geo=cz
Link: <https://ftp.fau.de/lineageos/tools/copy-partitions-20220613-signed.zip>;
rel=duplicate; pri=2; geo=de
Link:
<https://mirror.accum.se/mirror/lineageos/tools/copy-partitions-20220613-signed.zip>;
rel=duplicate; pri=3; geo=se
Location:
https://mirrors.dotsrc.org/lineageos/tools/copy-partitions-20220613-signed.zip
$ wget
https://mirrorbits.lineageos.org/tools/copy-partitions-20220613-signed.zip
HTTP response 302 Found
[https://mirrorbits.lineageos.org/tools/copy-partitions-20220613-signed.zip]
Adding URL:
https://ftp.fau.de/lineageos/tools/copy-partitions-20220613-signed.zip
Adding URL:
https://mirrors.dotsrc.org/lineageos/tools/copy-partitions-20220613-signed.zip
Saving 'copy-partitions-20220613-signed.zip'
HTTP response 200 OK
[https://ftp.fau.de/lineageos/tools/copy-partitions-20220613-signed.zip]
Saving 'copy-partitions-20220613-signed.zip.1'
HTTP response 200
[https://mirrors.dotsrc.org/lineageos/tools/copy-partitions-20220613-signed.zip]
copy-partitions-2022 100%
[==================================================================>] 3.94K
--.-KB/s
[Files: 2 Bytes: 7.89K [10.79KB/s] Redirects: 1
Todo: 0 Errors: 0]
$ ls
copy-partitions-20220613-signed.zip copy-partitions-20220613-signed.zip.1
$
```
--
Reply to this email directly or view it on GitLab:
https://gitlab.com/gnuwget/wget2/-/issues/698
You're receiving this email because of your account on gitlab.com.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- wget2 | Redirect/mirror regression since 400713ca (#698),
luk1337 (@luk1337) <=