Skip to content

Commit b01c8c9

Browse files
authored
Editorial: add structure to create a connection
Use unordered list for substeps of the create a connection algorithm to improve readability. Fixes #1571.
1 parent 9952a11 commit b01c8c9

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

fetch.bs

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2939,17 +2939,21 @@ boolean <var>http3Only</var>, run these steps:
29392939
<a for=connection>credentials</a> is <var>credentials</var>, and <a for=connection>timing info</a>
29402940
is <var>timingInfo</var>. <a for=/>Record connection timing info</a> given <var>connection</var>
29412941
and use <var>connection</var> to establish an HTTP connection to <var>host</var>, taking
2942-
<var>proxy</var> and <var>origin</var> into account. [[!HTTP]] [[!HTTP1]] [[!TLS]]
2942+
<var>proxy</var> and <var>origin</var> into account, with the following caveats: [[!HTTP]]
2943+
[[!HTTP1]] [[!TLS]]
29432944

2944-
<p>If <var>http3Only</var> is true, then establish an HTTP/3 connection. [[!HTTP3]]
2945+
<ul>
2946+
<li><p>If <var>http3Only</var> is true, then establish an HTTP/3 connection. [[!HTTP3]]
29452947

2946-
<p>When establishing an HTTP/3 connection, include SETTINGS_ENABLE_WEBTRANSPORT with a value of 1
2947-
and H3_DATAGRAM with a value of 1 in the initial SETTINGS frame. [[!WEBTRANSPORT-HTTP3]]
2948-
[[!HTTP3-DATAGRAM]]
2948+
<li><p>When establishing an HTTP/3 connection, include SETTINGS_ENABLE_WEBTRANSPORT with a value
2949+
of 1 and H3_DATAGRAM with a value of 1 in the initial SETTINGS frame. [[!WEBTRANSPORT-HTTP3]]
2950+
[[!HTTP3-DATAGRAM]]
29492951

2950-
<p>If <var>credentials</var> is false, then do <em>not</em> send a TLS client certificate.
2952+
<li><p>If <var>credentials</var> is false, then do not send a TLS client certificate.
29512953

2952-
<p>If establishing a connection does not succeed (e.g., a TCP or TLS error), then return failure.
2954+
<li><p>If establishing a connection does not succeed (e.g., a TCP or TLS error), then return
2955+
failure.
2956+
</ul>
29532957

29542958
<li>
29552959
<p>Set <var>timingInfo</var>'s <a for="connection timing info">ALPN negotiated protocol</a> to

0 commit comments

Comments
 (0)