Thanks for raising this. I understand that in this specific case response.getBody() return value can’t change between the 2 invocations, so indeed it looks like a false-positive. That said it might make the rule more complex to support this case so we will discuss it before making a decision.
The easy workaround to get rid of the issue is to call response.getBody() only once and put it in a variable.