- From: Jake Archibald <notifications@github.com>
- Date: Fri, 18 May 2018 07:46:07 -0700
- To: whatwg/fetch <fetch@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
- Message-ID: <whatwg/fetch/pull/560/review/121449412@github.com>
jakearchibald commented on this pull request.
> @@ -2911,6 +2972,39 @@ with a <i>CORS flag</i> and <i>recursive flag</i>, run these steps:
<li><a lt="should response to request be blocked due to nosniff">should <var>internalResponse</var> to <var>request</var> be blocked due to nosniff</a>
</ul>
+ <li>
+ <p>If <var>internalResponse</var>'s <a for=response>status</a> is <code>206</code>,
+ <var>response</var>'s <a for=response>type</a> is "<code>opaque</code>",
+ <var>internalResponse</var>'s <a for=response>range-requested flag</a> is set, and
+ <var>request</var>'s <a for=request>header list</a> does not <a for="header list">contain</a>
+ `<code>Range</code>`, then:
+
+ <ol>
+ <li><p>Set <var>internalResponse</var> to a new <a for=/>response</a>.
+
+ <li><p>Set <var>response</var>'s <a>internal response</a> to <var>internalResponse</var>.
In the previous step, I've changed what *internalResponse* refers to, but *response's* *internal response* will still refer to the previous response.
Or would it be better to set *response* to a new opaque response, then set *internalResponse* to its *internal response*?
--
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/560#discussion_r189292756
Received on Friday, 18 May 2018 14:46:29 UTC