Skip to content

Commit 58b3e21

Browse files
committed
Add a note to explain why HTTPS Upgrading runs in main fetch
1 parent 39d25f6 commit 58b3e21

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

fetch.bs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4527,6 +4527,10 @@ steps:
45274527

45284528
<li><p>Optionally, run <a>upgrade an HTTP request</a> algorithm on <var>request</var>, if appropriate</a>.
45294529

4530+
<p class="note">HTTPS upgrading only applies to requests with <a>HTTP(S) scheme</a>s, but it's done
4531+
in <a>main fetch</a> instead of <a>HTTP fetch</a> to ensure that <a>upgrade a mixed content</a>
4532+
step runs next and applies to the upgraded request.</p>
4533+
45304534
<li><p><a>Upgrade a mixed content <var>request</var> to a potentially trustworthy URL, if appropriate</a>.
45314535

45324536
<li><p>If <a lt="block bad port">should <var>request</var> be blocked due to a bad port</a>,

0 commit comments

Comments
 (0)