@@ -2999,9 +2999,9 @@ details of reused connections are not exposed and time values are coarsened.
2999
2999
<p> A <dfn>network partition key</dfn> is a tuple consisting of a <a for=/>site</a> and null or
3000
3000
an <a>implementation-defined</a> value.
3001
3001
3002
- <p> To
3003
- <dfn export lt="determine the network partition key|determining the network partition key" >determine the network partition key</dfn> ,
3004
- given an <a for=/>environment</a> <var> environment</var> , run these steps :
3002
+ <div algorithm>
3003
+ <p> To < dfn export>determine the network partition key</dfn> , given an
3004
+ <a for=/>environment</a> <var> environment</var> :
3005
3005
3006
3006
<ol>
3007
3007
<li><p> Let <var> topLevelOrigin</var> be <var> environment</var> 's
@@ -3023,10 +3023,11 @@ given an <a for=/>environment</a> <var>environment</var>, run these steps:
3023
3023
3024
3024
<li><p> Return (<var> topLevelSite</var> , <var> secondKey</var> ).
3025
3025
</ol>
3026
+ </div>
3026
3027
3027
- <p> To
3028
- <dfn for=request lt=" determine the network partition key|determining the network partition key">determine the network partition key</dfn> ,
3029
- given <var> request</var> , run these steps :
3028
+ <div algorithm>
3029
+ <p> To < dfn for=request> determine the network partition key</dfn> , given a <a for=/>request</a>
3030
+ <var> request</var> :
3030
3031
3031
3032
<ol>
3032
3033
<li><p> If <var> request</var> 's <a for=request>reserved client</a> is non-null, then return the
@@ -3039,13 +3040,13 @@ given <var>request</var>, run these steps:
3039
3040
3040
3041
<li><p> Return null.
3041
3042
</ol>
3043
+ </div>
3042
3044
3043
3045
3044
3046
<h3 id=http-cache-partitions>HTTP cache partitions</h3>
3045
3047
3046
- <p> To
3047
- <dfn lt="determine the HTTP cache partition|determining the HTTP cache partition">determine the HTTP cache partition</dfn> ,
3048
- given <var> request</var> , run these steps:
3048
+ <div algorithm>
3049
+ <p> To <dfn>determine the HTTP cache partition</dfn> , given a <a for=/>request</a> <var> request</var> :
3049
3050
3050
3051
<ol>
3051
3052
<li><p> Let <var> key</var> be the result of <a for=request>determining the network partition key</a>
@@ -3055,6 +3056,7 @@ given <var>request</var>, run these steps:
3055
3056
3056
3057
<li><p> Return the unique HTTP cache associated with <var> key</var> . [[!HTTP-CACHING]]
3057
3058
</ol>
3059
+ </div>
3058
3060
3059
3061
3060
3062
<h3 id=port-blocking>Port blocking</h3>
@@ -3063,9 +3065,9 @@ given <var>request</var>, run these steps:
3063
3065
through TLS using ALPN. The protocol cannot be spoofed through HTTP requests in that case.
3064
3066
[[RFC7301]]
3065
3067
3068
+ <div algorithm>
3066
3069
<p> To determine whether fetching a <a for=/>request</a> <var> request</var>
3067
- <dfn export lt="block bad port">should be blocked due to a bad port</dfn> ,
3068
- run these steps:
3070
+ <dfn export lt="block bad port">should be blocked due to a bad port</dfn> :
3069
3071
3070
3072
<ol>
3071
3073
<li><p> Let <var> url</var> be <var> request</var> 's <a for=request>current URL</a> .
@@ -3075,6 +3077,7 @@ run these steps:
3075
3077
3076
3078
<li><p> Return <b> allowed</b> .
3077
3079
</ol>
3080
+ </div>
3078
3081
3079
3082
<p> A <a for=url>port</a> is a
3080
3083
<dfn export>bad port</dfn> if it is listed in the first column of the following table.
@@ -3166,6 +3169,7 @@ run these steps:
3166
3169
https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.txt -->
3167
3170
3168
3171
3172
+ <div algorithm="should response to request be blocked due to mime type">
3169
3173
<h3 dfn export lt="should response to request be blocked due to mime type" id=should-response-to-request-be-blocked-due-to-mime-type?>Should
3170
3174
<var>response</var> to <var>request</var> be blocked due to its MIME type?</h3>
3171
3175
@@ -3191,6 +3195,7 @@ run these steps:
3191
3195
3192
3196
<li><p> Return <b> allowed</b> .
3193
3197
</ol>
3198
+ </div>
3194
3199
3195
3200
3196
3201
0 commit comments