fleet/orbit/changes/15916-client-errors
Roberto Dip ca06f0aed6
prevent baseClient from trying to decode 204 responses (#16060)
noticed while working on #15916, we do a request that, when successful,
returns a 204 response (with no content)

currently the client will fail to parse the contents of the response and
return an error "response: unexpected end of JSON input, body" even if
the request was succesful.
2024-01-11 17:55:35 -03:00

1 line
95 B
Text

* improve the HTTP client used by `fleetctl` and `fleetd` to prevent errors for 204 responses.