- From: Noam Rosenthal <notifications@github.com>
- Date: Thu, 16 Mar 2023 01:05:10 -0700
- To: whatwg/fetch <fetch@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 16 March 2023 08:05:23 UTC
@noamr commented on this pull request. > </dl> -<p>When invoked, the <a for=/>fetch</a> operation returns a <a for=/>fetch controller</a>. The -controller is used for performing actions on a fetch operation that has already started, such as -<a for="fetch controller" lt=abort>aborting</a> the operation by the user or page logic, or -<a for="fetch controller" lt=terminate>terminating</a> it due to a browser-internal circumstance. - - +<p>Apart from the callbacks to handle responses, <a for=/>fetch</a> accepts additional callbacks +for advanced cases.<a for=fetch><i>processEarlyHintsResponse</i></a> is intended specifically for +<a for=/>responses</a> whose <a for=response>status</a> is 103, and is currently handled only by +navigations. <a for=fetch><i>processRequestBodyChunkLength</i></a> and +<a for=fetch><i>processRequestEndOfBody</i></a> notify the client of request body uploading +progress. + +<p>Note that the <a for=/>fetch</a> operation runs <a>in parallel</a>, and it usually posts Thanks, reworded this a bit. -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/fetch/pull/1614#discussion_r1138259954 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/fetch/pull/1614/review/1343105474@github.com>
Received on Thursday, 16 March 2023 08:05:23 UTC