We don't care about 404 errors quite as much
This commit is contained in:
parent
727b357744
commit
108afaf6ce
|
@ -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}"
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue