- From: Jake Champion <notifications@github.com>
- Date: Wed, 19 Jul 2023 13:28:38 -0700
- To: whatwg/fetch <fetch@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 19 July 2023 20:28:44 UTC
> @JakeChampion: > > const incomingTrailers = await request.trailers(); > > I assume that awaiting this would force the entire body payload to be cached in memory? I'd propose it does not buffer, but instead consumes and discards the body if the body has not already been consumed. If wanting the body, then applications could read the body before reading the trailers. -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/fetch/issues/981#issuecomment-1642710202 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/fetch/issues/981/1642710202@github.com>
Received on Wednesday, 19 July 2023 20:28:44 UTC