Re: [whatwg/fetch] Expose decoded/encoded size for constructed responses (PR #1456)

@noamr commented on this pull request.



> @@ -4426,8 +4426,30 @@ steps:
   <ol>
    <li><p>Let <var>transformStream</var> be a new {{TransformStream}}.
 
-   <li><p>Let <var>identityTransformAlgorithm</var> be an algorithm which, given <var>chunk</var>,
-   <a for=TransformStream lt=enqueue>enqueues</a> <var>chunk</var> in <var>transformStream</var>.
+   <li>
+    <p>Let <var>identityTransformAlgorithm</var> be the following steps given
+    <a>byte sequence</a> <var>chunk</var>:
+
+    <ol>
+     <li><p><a for=TransformStream lt=enqueue>Enqueue</a> <var>chunk</var> in
+     <var>transformStream</var>.
+
+     <li>
+      <p>If <var>response</var>'s <a for=response>URL</a> is null, then:
+
+      <ol>
+       <li><p>Increment <var>response</var>'s <a for=response>body info</a>'s

Done

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

Message ID: <whatwg/fetch/pull/1456/review/1011552088@github.com>

Received on Sunday, 19 June 2022 17:41:03 UTC