Re: [whatwg/fetch] Trailer support in the API (#981)

> 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