fix response decoding when status code is 204