From ae4b46d4dd281ba6f22292705c911eafc8be1585 Mon Sep 17 00:00:00 2001 From: Anne van Kesteren Date: Thu, 11 Feb 2021 09:04:22 +0100 Subject: [PATCH] review feedback --- fetch.bs | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/fetch.bs b/fetch.bs index b52320a24..91cd0efaa 100644 --- a/fetch.bs +++ b/fetch.bs @@ -160,8 +160,8 @@ lt="authentication entry">authentication entries (for HTTP authentication).
-

A fetch params is a struct used in fetching. It has the -following items: +

A fetch params is a struct used as a bookkeeping detail by the +fetch algorithm. It has the following items:

request @@ -1732,11 +1732,12 @@ is to return the result of serializing a request origin with request

This step blocks until bs is fully transmitted. -

  • Let algorithm be this step: perform the transmit-request-body loop - given fetchParams, body, and reader. +

  • Let continueAlgorithm be this step: perform the + transmit-request-body loop given fetchParams, body, and + reader.

  • If the ongoing fetch is not terminated, then - queue a fetch task given algorithm, fetchParams's + queue a fetch task given continueAlgorithm, fetchParams's global, and fetchParams's algorithm queue. @@ -3257,7 +3258,9 @@ an optional algorithm processResp optional algorithm processResponseEndOfBody, and an optional boolean useParallelQueue (default false), run -the steps below. +the steps below. If given, processRequestBody and processRequestEndOfBody must +be an algorithm accepting a request; processResponse and +processResponseEndOfBody must be an algorithm accepting a response.

    An ongoing fetch can be terminated with flag aborted,