mirror of
https://github.com/go-acme/lego.git
synced 2025-03-19 06:08:03 +02:00
technitium: fix status code handling (#2357)
This commit is contained in:
parent
8ed8207007
commit
7d83daef46
@ -103,7 +103,7 @@ func (c *Client) do(req *http.Request, result any) error {
|
||||
|
||||
defer func() { _ = resp.Body.Close() }()
|
||||
|
||||
if resp.StatusCode > http.StatusBadRequest {
|
||||
if resp.StatusCode >= http.StatusBadRequest {
|
||||
return parseError(req, resp)
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user