- From: Abin K Paul <notifications@github.com>
- Date: Tue, 27 Sep 2022 12:10:27 -0700
- To: whatwg/fetch <fetch@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 27 September 2022 19:10:40 UTC
@abinpaul1 commented on this pull request. > + <li><p>Let <var>responseStatus</var> be 0 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 + <var>response</var>'s <a for=response>status</a> otherwise. Okay, so just to be clear we let `responseStatus` be 0 if request’s [mode](https://fetch.spec.whatwg.org/#concept-request-mode) is "navigate" and request has a [redirect-tainted origin](https://fetch.spec.whatwg.org/#concept-request-tainted-origin)? Also, I believe Noam is OOO for a few months. > Also, is this the internal response or not? I don't think it is the internal response. We want the filtered response's status, so that status would be 0 if its say a no-cors request as well. -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/fetch/pull/1468#discussion_r981619162 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/fetch/pull/1468/review/1122545164@github.com>
Received on Tuesday, 27 September 2022 19:10:40 UTC