Re: [whatwg/fetch] Add .trailers to Response/Request (PR #1940)

@jasnell commented on this pull request.



> @@ -1651,6 +1651,74 @@ these steps:
 </div>
 
 
+<h4 id=trailer-state>Trailer state</h4>
+
+<p>A <dfn export>trailer state</dfn> is a <a for=/>struct</a> used to represent
+HTTP trailer fields received after a response body
+([[HTTP]], <a href="https://httpwg.org/specs/rfc9110.html#trailers">Section 6.5</a>).
+It has:

The struct here is really only to deal with cloning... wasn't sure if it would be better to go more specific / concrete or to describe things in a more generic / hand wavy way... went with more specific.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/pull/1940#pullrequestreview-4678136246
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/fetch/pull/1940/review/4678136246@github.com>

Received on Saturday, 11 July 2026 15:13:52 UTC