Ooh, ooh, ignore server errors too

This commit is contained in:
Andrew Godwin 2022-12-16 20:14:44 -07:00
parent 108afaf6ce
commit f262f582cb

View File

@ -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(