Re: [whatwg/fetch] Either expose HTTP Header to Javascript or expose the cookies to fetch API's response (Issue #1947)

peperronii left a comment (whatwg/fetch#1947)

> At least assuming you wanted to get the HTTP headers associated with the current document,

Yes, that is correct.

but the point of this issue is to help the fact that, on the server side, we need to check the type of request before we attach something to the response or redundantly attach the same information in two places so that a normal page request and a fetch request can access it.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/issues/1947#issuecomment-5323362869
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/fetch/issues/1947/5323362869@github.com>

Received on Tuesday, 18 August 2026 03:50:42 UTC