Skip to content

Commit

Permalink
Add server-timing to timing info struct
Browse files Browse the repository at this point in the history
  • Loading branch information
noamr committed Mar 14, 2022
1 parent 4561d5f commit ce60912
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions fetch.bs
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,9 @@ following <a for=struct>items</a>: [[RESOURCE-TIMING]] [[NAVIGATION-TIMING]]

<dt><dfn export for="fetch timing info">final connection timing info</dfn> (default null)
<dd>Null or a <a for=/>connection timing info</a>.

<dt><dfn export for="fetch timing info">server timing headers</dfn> (default an empty list)
<dd>A <a for=/>list</a> of strings.
</dl>

<p>To
Expand Down Expand Up @@ -4296,6 +4299,10 @@ steps:
<a for="fetch params">timing info</a>.</p></li>
</ol>
</li>
<li><p>Otherwise, set <var>response</var>'s <a for=response>timing info</a>'s
<a for="fetch timing info">server timing headers</a> to the result of
<a for="header list">getting, decoding, and splitting</a> `<code>Server-Timing</code>` from
<var>response</var>'s <a for=response>header list</a>.</p></li>

<li>
<p>Let <var>processResponseEndOfBody</var> be the following steps:
Expand Down

0 comments on commit ce60912

Please sign in to comment.