- From: Chris Thompson <notifications@github.com>
- Date: Tue, 11 Jul 2023 11:56:49 -0700
- To: whatwg/fetch <fetch@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 11 July 2023 18:56:54 UTC
@christhompson commented on this pull request. > + <var>response</var>. + + <p class="note">This means <var>request</var> was not upgraded. + + <li> + <p class="note">The request was upgraded. + + <p>If <var>response</var> is a network error, run the following steps: + <p class="note">This means that the upgrade failed and initiates a fallback load. + <ol> + <li><p>Let <var>fallbackResponse</var> be a new <a>Response</a> with its <code>Location</code> header set to + <code>https-upgrade-fallback-url</code>, and its <a for="response">status</a> set to 307. + <li>Return <var>fallbackResponse</var>. + </ol> + + <li><p>Otherwise, the upgrade was successful. Return <var>response</var>. Done -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/fetch/pull/1655#discussion_r1260153632 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/fetch/pull/1655/review/1524980892@github.com>
Received on Tuesday, 11 July 2023 18:56:54 UTC