summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Godwin2022-12-16 20:14:44 -0700
committerAndrew Godwin2022-12-16 20:14:44 -0700
commitf262f582cbe901ec45f39162af4aec5c54ff4e07 (patch)
tree6615bedbff7d0bd7615648c31a0b74ce06f4b2d2
parent108afaf6ce25b54689906249328fc6b37c4c160e (diff)
downloadtakahe-f262f582cbe901ec45f39162af4aec5c54ff4e07.tar.gz
takahe-f262f582cbe901ec45f39162af4aec5c54ff4e07.tar.bz2
takahe-f262f582cbe901ec45f39162af4aec5c54ff4e07.zip
Ooh, ooh, ignore server errors too
-rw-r--r--core/signatures.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/signatures.py b/core/signatures.py
index c589be4..ef354c3 100644
--- a/core/signatures.py
+++ b/core/signatures.py
@@ -237,6 +237,7 @@ class HttpSignature:
if (
method == "post"
and response.status_code >= 400
+ and response.status_code < 500
and response.status_code != 404
):
raise ValueError(