[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Wget-dev] wget2 | WIP: Implement a --retry-on-http-status switch (!
From: |
Tim Rühsen |
Subject: |
Re: [Wget-dev] wget2 | WIP: Implement a --retry-on-http-status switch (!381) |
Date: |
Tue, 03 Jul 2018 11:04:13 +0000 |
Yes, just remove the b0c466b25490d3d10f0c07bb02d2887128bdfd23 (First
workable...).
The code then looks functional, see how `--tries` works here:
```
$ src/wget2 --tries=2 --retry-on-http-status=404 https://example.com/404
[0] Downloading 'https://example.com/404' ...
Got a HTTP Code 404. Retrying...
[0] Downloading 'https://example.com/404' ...
Got a HTTP Code 404. Retrying...
```
Please
- add docs (wget2.md)
- rename config.http_statuses to config.retry_on_http_status (the plural of
status is status *or* statuses, but the latter looks irritating to me).
- merge your commits into one
--
Reply to this email directly or view it on GitLab:
https://gitlab.com/gnuwget/wget2/merge_requests/381#note_85758398
You're receiving this email because of your account on gitlab.com.