Using Fetch API GET request, receiving response (HTML code) and reloading whole web page (not only parts) with that code [duplicate]

Let us say we are sending a Fetch API Get request to the server.
The server response with text, in specific with the whole new webpage in html code.
How do I get the browser refresh the page with this html?
Sure there is the way for replacing snippets in page like in div containers. But how to refresh the whole page with below shown html code?

<!-- html code sent by server -->
<html>
<header>
   <title>animals</title>
</header>
<body>
 <p>A spider is an animal.</p>
</body>
//Client side
fetch('/animals')
  .then(res => res.text())
  .then(value => /*Iam missing this step*/)