diff options
-rw-r--r-- | core/signatures.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/core/signatures.py b/core/signatures.py index 45e6ff4..c589be4 100644 --- a/core/signatures.py +++ b/core/signatures.py @@ -234,7 +234,11 @@ class HttpSignature: content=body_bytes, follow_redirects=method == "get", ) - if method == "post" and response.status_code >= 400: + if ( + method == "post" + and response.status_code >= 400 + and response.status_code != 404 + ): raise ValueError( f"POST error: {response.status_code} {response.content}" ) |