- From: Noam Rosenthal <notifications@github.com>
- Date: Mon, 22 Mar 2021 23:50:53 -0700
- To: whatwg/fetch <fetch@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 23 March 2021 06:51:19 UTC
@noamr commented on this pull request. > <li><p>Set <var>response</var> to the result of invoking <a for=/>handle fetch</a> for <var>requestForServiceWorker</var>. [[!HTML]] [[!SW]] <li> <p>If <var>response</var> is not null, then: <ol> + <li><p>Set <var>fetchParams</var>'s <a for="fetch params">timing info</a>'s + <a for="fetch timing info">response start time</a> to the + <a for=/>unsafe shared current time</a>. + + <li><p>Set <var>timingInfo</var>'s <a for="fetch timing info">encoded body size</a> and + <a for="fetch timing info">decoded body size</a> to the result of calling + <a for="header list">extract a length</a> from <var>response</var>'s + <a for=response>header list</a>. Looking closely, cached responses don't get these values at all (they're zeroed). Changed the spec to reflect that and added a note. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/whatwg/fetch/pull/1185#discussion_r599309430
Received on Tuesday, 23 March 2021 06:51:19 UTC