treat http status code 2xx other than 200 (in special, 204) as a success when no data is expected in the response body.