improve downloader retry behavior

- only retry download on 5xx and 429 status codes
- immediately fail on 4xx status codes
This commit is contained in:
Mike Fährmann
2017-11-10 21:35:53 +01:00
parent 5ee8ca0319
commit 79bcaa8726
6 changed files with 37 additions and 17 deletions

View File

@@ -6,4 +6,4 @@
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
__version__ = "1.0.1"
__version__ = "1.0.2-dev"