Skip to content

Commit

Permalink
Add note that chunking is not preserved with ReadableStream.
Browse files Browse the repository at this point in the history
Addresses w3c#1573
  • Loading branch information
mfalken committed Apr 16, 2021
1 parent 62db59f commit 556c1f8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -1629,6 +1629,8 @@ spec: webappsec-referrer-policy; urlPrefix: https://w3c.github.io/webappsec-refe

Note: These substeps are meant to produce the observable equivalent of "piping" |response|'s [=response/body=]'s [=stream=] into |potentialResponse|.

Note: The data written by the service worker in chunks are not guaranteed to read in identical chunks by the client that receives the data. That is, the client will read the same data that was written, but it may be chunked differently by the browser.

1. Set |event|'s [=FetchEvent/potential response=] to |potentialResponse|.
1. Unset |event|'s [=FetchEvent/wait to respond flag=].
</section>
Expand Down

0 comments on commit 556c1f8

Please sign in to comment.