Skip to content

Commit

Permalink
Clarify "manual" redirect mode
Browse files Browse the repository at this point in the history
Closes #763.
  • Loading branch information
annevk committed Mar 24, 2020
1 parent d5c3d8b commit 8ffa042
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions fetch.bs
Original file line number Diff line number Diff line change
Expand Up @@ -1519,8 +1519,9 @@ Unless stated otherwise, it is "<code>follow</code>".
<dd>Return a <a>network error</a> when a request is met with a redirect.

<dt>"<code>manual</code>"
<dd>Retrieves an <a>opaque-redirect filtered response</a> when a request is met with a redirect so
that the redirect can be followed manually.
<dd>Retrieves an <a>opaque-redirect filtered response</a> when a request is met with a redirect to
allow a service worker to replay the redirect offline. The response is otherwise indistinguishable
from a <a>network error</a> to not violate <a>atomic HTTP redirect handling</a>.
</dl>
</div>

Expand Down Expand Up @@ -4079,8 +4080,8 @@ optional <i>CORS-preflight flag</i>, run these steps:
<i>recursive flag</i> set if <var>request</var>'s <a for=request>redirect mode</a> is not
"<code>manual</code>".

<p class=note>It can only be "<code>manual</code>" when invoked directly from HTML's navigate
algorithm.
<p class=note>It can only be "<code>manual</code>" here when this algorithm is invoked directly
from HTML's navigate algorithm.

<p class="note no-backref">This has to invoke <a for=main>main fetch</a> to
get <a for=request>response tainting</a> correct.
Expand Down

0 comments on commit 8ffa042

Please sign in to comment.