- From: James M Snell <notifications@github.com>
- Date: Mon, 02 Oct 2023 08:03:57 -0700
- To: whatwg/fetch <fetch@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 2 October 2023 15:04:02 UTC
> You mean that the sender would resolve the trailers promise with a HeadersInit? If so, this matches https://github.com/whatwg/fetch/issues/981#issuecomment-1645808136, right? If I understand the comment correctly, yes, the change adopts your feedback. On the sending trailers side, the `trailer` field in either `RequestInit` or `ResponseInit` resolves a `HeadersInit`. On the receiving side, the `trailers` attribute on both `Response` and `Request` is a promise for a `Headers`. -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/fetch/issues/981#issuecomment-1743189276 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/fetch/issues/981/1743189276@github.com>
Received on Monday, 2 October 2023 15:04:02 UTC