Funguje mi:
fetch('test.html')
.then((result) => {
document.getElementById("Last-Modified").innerHTML = result.headers.get('Last-Modified');
return result.text();
})
.then((content) => { document.getElementById("html").innerHTML = content; });