- From: Anne van Kesteren <notifications@github.com>
- Date: Wed, 27 Sep 2017 09:20:55 +0000 (UTC)
- To: whatwg/fetch <fetch@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 27 September 2017 09:21:20 UTC
The portion you quoted is about the trailer, not the headers. The headers end up being copied with the same guard as the input. I suspect your concern is with inputs where the guard is "immutable" and therefore the clone being "immutable" too. If you create a new `Response` object you don't get to set the url list or its type (or trailer, but that's less significant and possibly an oversight). Also, you should be able to do: > const responseClone = new Response(inputResponse.body, inputResponse); which means you can do it all synchronously and not have to wait for anything. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/whatwg/fetch/issues/608#issuecomment-332462271
Received on Wednesday, 27 September 2017 09:21:20 UTC