]> git.ipfire.org Git - oddments/ddns.git/commit
Add exception for HTTP 429 status codes.
authorDirk Wagner <dirk.wagner@ipfire.org>
Fri, 24 Feb 2017 10:26:06 +0000 (11:26 +0100)
committerStefan Schantl <stefan.schantl@ipfire.org>
Fri, 24 Feb 2017 10:26:06 +0000 (11:26 +0100)
commitf1c73c2cb37c2c75629a4466de3609d9e9864bbf
tree68810b9267851e403cd71e01d45863afd0500cf1
parentea32ab26669e56e32448a05e3265b886baea2ca8
Add exception for HTTP 429 status codes.

This commit adds support for handling HTTP 429 status codes and a new
exeption class for calling "To many requests" exceptions.

This class easily can be used to catch similar responses from other
DDNS providers too.

Signed-off-by: Dirk Wagner <dirk.wagner@ipfire.org>
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
src/ddns/errors.py
src/ddns/system.py