- From: Isiah Meadows <notifications@github.com>
- Date: Tue, 08 Dec 2020 13:38:42 -0800
- To: whatwg/fetch <fetch@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 8 December 2020 21:38:54 UTC
This one method would bring `fetch` to full parity with XHR regarding response types, and it'd be very useful for leveraging browsers' streaming parsers when fetching HTML to eventually either parse out (in user scripts) or display (in web pages). It wouldn't stream to the UI itself, however. In spirit, it'd mimic [the "set a document response" algorithm for XHRs](https://xhr.spec.whatwg.org/#document-response), and it'd likewise derive the MIME type from the response headers (specifically `response.headers.get('content-type')`). -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/whatwg/fetch/issues/1124
Received on Tuesday, 8 December 2020 21:38:54 UTC