diff --git a/client.go b/client.go index dea9c31..20a1f4f 100644 --- a/client.go +++ b/client.go @@ -87,7 +87,11 @@ func (c *Client) Request(method, url string, body io.Reader) (*http.Response, er } switch resp.StatusCode { - case http.StatusOK, http.StatusAccepted, http.StatusMultiStatus: + case http.StatusOK: + fallthrough + case http.StatusAccepted: + fallthrough + case http.StatusMultiStatus: return resp, nil }