=> xml contain the many child tag, if we get body content of current controller, it will get all child tag HTML
A usual Magento 2 HTTP response does not contain any XML.
Usually it has the text/html
content type, and contains HTML.
Magento 2 HTTP response contains XML only in exceptional cases: e.g., for the API SOAP responses.