1
0
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:
Ludovic Fernandez 2024-11-21 13:23:18 +01:00 committed by GitHub
parent 8ed8207007
commit 7d83daef46
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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)
}