Répondre à la réponse
// How to get Content-Type Headers from the Fetch Response Object:
fetch("https://cool.api.com/cats")
.then( response => {
console.log( response.headers.get("content-type") );
return response.json();
})
KostasX