File tree Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -7984,9 +7984,21 @@ in a <a for=/>parallel queue</a> if <a for=fetch><i>useParallelQueue</i></a> is
7984
7984
<p> Takes an algorithm that will be passed a <a for=/>response</a> and null, failure, or a
7985
7985
<a>byte sequence</a> . This is useful for standards that wish to operate on the entire
7986
7986
<a for=/>response</a> 's <a for=response>body</a> , of which the result of reading it is supplied as
7987
- second argument.
7987
+ second argument. The second argument's values have the following meaning:
7988
7988
7989
- <p> It might be surprising that a <a for=/>network error</a> will have null as second argument.
7989
+ <dl>
7990
+ <dt> null
7991
+ <dd> The <a for=/>response</a> 's <a for=response>body</a> is null, due to the response being a
7992
+ <a for=/>network error</a> or having a <a>null body status</a> .
7993
+
7994
+ <dt> failure
7995
+ <dd> Attempting to <a for=body>fully read</a> the contents of the <a for=/>response</a> 's
7996
+ <a for=response>body</a> failed, e.g., due to an I/O error.
7997
+
7998
+ <dt> a <a>byte sequence</a>
7999
+ <dd> <a for=body>Fully reading</a> the contents of the <a for=/>response</a> 's
8000
+ <a for=response>body</a> succeeded.
8001
+ </dl>
7990
8002
7991
8003
<p class=warning> A standard that uses this argument cannot operate on <a for=/>response</a> 's
7992
8004
<a for=response>body</a> itself as providing this argument will cause it to be read and it can be
You can’t perform that action at this time.
0 commit comments