Correct handling of the response without body