Re: [whatwg/fetch] Add onInformation interim response support (PR #1942)

lukewarlow left a comment (whatwg/fetch#1942)

I think this could be better as part of the proposed responseMonitor system from #1843 

Perhaps even as simply as:

```js
fetch('...', {
  responseMonitor(m) {
    m.onInformation = (status, headers) => {
      // status is the 1xx code
      // headers is the Headers object
    },
  }
});
```

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

Message ID: <whatwg/fetch/pull/1942/c7241647479@github.com>

Received on Saturday, 28 November 2026 15:41:16 UTC