Because body (a String) is used later twice, to getBytes, and to get the actual content.