Added a has_body flag to the response