I have a simple fetch call to an audio file on S3, and am using the Content-Length
header to generate a loading progress bar. On Chrome and Safari, this is totally functional, but Firefox is returning null
for `res.headers.get('Content-Length').
const res = await fetch(src)
const length = res.headers.get('Content-Length') // null on Firefox
Has anyone experienced similar issues? My suspicion was the browser restricting CORS access, but I have not been able to find a solution.