How to access to server header via fetch from another domain if cors allowed
example
fetch(item,{method:"GET"}).then((response) => {
for (let pair of response.headers.entries()) {
console.log(pair[0]+ ': '+ pair[1]);
}
}
I cannot see server header
updated.I see on header response enter image description here
what i see on response fetch method enter image description here