- From: Yoav Weiss <notifications@github.com>
- Date: Sun, 04 Sep 2022 23:37:28 -0700
- To: whatwg/fetch <fetch@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 5 September 2022 06:37:41 UTC
@yoavweiss commented on this pull request. > @@ -4383,6 +4383,13 @@ steps: <li><p>Let <var>bodyInfo</var> be <var>response</var>'s <a for=response>body info</a>. + <li><p>Let <var>mimeType</var> be the empty string if <var>fetchParams</var>'s + <a for="fetch params">request</a>'s <a for=request>mode</a> is "<code>navigate</code>" and + <var>response</var>'s <a for=response>URL</a>'s <a for=url>origin</a> is not + <a>same origin</a> with <var>request</var>'s <a for=request>origin</a>, and + result of <a for="header list">extracting a MIME type</a> from <var>response</var>'s What @noamr did elsewhere (e.g. with "body info" is to only initialize it when the response is not opaque. It might be worthwhile to repeat the same pattern (or hook the info you want here into "body info" itself, as mime type kinda feels related. @noamr - thoughts? -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/fetch/pull/1481#discussion_r962525971 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/fetch/pull/1481/review/1095915823@github.com>
Received on Monday, 5 September 2022 06:37:41 UTC