@@ -55,7 +55,7 @@ urlPrefix:https://tc39.es/ecma262/#;type:dfn;spec:ecma-262
55
55
url:sec-list-and-record-specification-type;text:Record
56
56
url:current-realm;text:current realm
57
57
58
- urlPrefix:https://www .ietf.org/archive/id /draft-annevk-johannhof- httpbis-cookies-00.html #;type:dfn;spec:cookies
58
+ urlPrefix:https://datatracker .ietf.org/doc/html /draft-ietf- httpbis-layered-cookies #;type:dfn;spec:cookies
59
59
url:name-cookie-store-and-limits;text:cookie store
60
60
url:name-parse-and-store-a-cookie;text:parse and store a cookie
61
61
url:name-parse-a-cookie;text:parse a cookie
@@ -73,9 +73,9 @@ urlPrefix:https://html.spec.whatwg.org#;type:dfn;spec:html
73
73
<pre class=biblio>
74
74
{
75
75
"COOKIES": {
76
- "authors": ["Johann Hofmann", "Anne van Kesteren"] ,
77
- "href": "https://www .ietf.org/archive/id /draft-annevk-johannhof- httpbis-cookies-00.html ",
78
- "title": "Cookies: HTTP State Management Mechanism"
76
+ "authors": ["Johann Hofmann", "Anne van Kesteren"] ,
77
+ "href": "https://datatracker .ietf.org/doc/html /draft-ietf- httpbis-layered-cookies ",
78
+ "title": "Cookies: HTTP State Management Mechanism",
79
79
},
80
80
"HTTP": {
81
81
"aliasOf": "RFC9110"
@@ -1958,8 +1958,8 @@ not always relevant and might require different behavior.
1958
1958
"<code> client</code> ".
1959
1959
1960
1960
<p> A <a for=/>request</a> has an associated
1961
- <dfn export for=request id=concept-request-navigation-initiator-origin>top-level navigation
1962
- initiator origin</dfn> , which is an <a for=/>origin</a> or null. Unless stated otherwise it is null.
1961
+ <dfn export for=request id=concept-request-navigation-initiator-origin>top-level navigation initiator origin</dfn> ,
1962
+ which is an <a for=/>origin</a> or null. Unless stated otherwise it is null.
1963
1963
1964
1964
<p class=note> "<code> client</code> " is changed to an <a for=/>origin</a> during
1965
1965
<a lt=fetch for=/>fetching</a> . It provides a convenient way for standards to not have to set
@@ -4257,6 +4257,8 @@ indicates the request’s purpose is to fetch a resource that is anticipated to
4257
4257
<p class=note> The server can use this to adjust the caching expiry for prefetches, to disallow the
4258
4258
prefetch, or to treat it differently when counting page visits.
4259
4259
4260
+
4261
+
4260
4262
<h2 id=cookies>Cookies</h2>
4261
4263
4262
4264
<h3 id=cookie-header>`<code>Cookie</code>` header</h3>
@@ -4344,30 +4346,31 @@ given a <a for=/>request</a> <var>request</var>, run these steps:
4344
4346
</ol>
4345
4347
</div>
4346
4348
4347
- <h3 id=cookie-infrastructure>Cookie Infrastructure </h3>
4349
+ <h3 id=cookie-infrastructure>Cookie infrastructure </h3>
4348
4350
4349
4351
These algorithms are not only for use with the `<code> Cookie</code> ` header, and are used in other
4350
4352
specifications.
4351
4353
4352
4354
<div algorithm>
4353
- <p> To <dfn>determine the same-site mode</dfn> for a given <a for=/>request</a> <var> request</var> ,
4354
- run these steps:
4355
+ <p> To <dfn>determine the same-site mode</dfn> for a given <a for=/>request</a> <var> request</var> :
4355
4356
4356
4357
<ol>
4357
- <li><p> <a for=/>Assert</a> : <var> request</var> 's <a for=request>method</a> is "GET" or "POST".
4358
+ <li><p> <a for=/>Assert</a> : <var> request</var> 's <a for=request>method</a> is "<code> GET</code> "
4359
+ or "<code> POST</code> ".
4358
4360
4359
4361
<li><p> If <var> request</var> 's <a for=request>top-level navigation initiator origin</a> is not
4360
4362
null and is not <a for=/>same site</a> to <var> request</var> 's <a for=request>URL</a>' s
4361
4363
<a for=url>origin</a> , return "<code> UnsetOrLess</code> ".
4362
4364
4363
- <li><p> If <var> request</var> 's <a for=request>method</a> is "GET" and <var>request</var>' s
4364
- <a for=request>destination</a> is "document", return "<code> LaxOrLess</code> ".
4365
+ <li><p> If <var> request</var> 's <a for=request>method</a> is "<code> GET</code> " and
4366
+ <var> request</var> 's <a for=request>destination</a> is "document", return
4367
+ "<code> LaxOrLess</code> ".
4365
4368
4366
4369
<li><p> If <var> request</var> 's <a for=request>client</a>' s <a for=environment>ancestry</a> is
4367
- "<code> cross-site</code> ", return "<code> UnsetOrLess</code> ".
4370
+ "<code> cross-site</code> ", then return "<code> UnsetOrLess</code> ".
4368
4371
4369
4372
<li><p> If <var> request</var> 's <a for=request>redirect-taint</a> is "<code> cross-site</code> ",
4370
- return "<code> UnsetOrLess</code> ".
4373
+ then return "<code> UnsetOrLess</code> ".
4371
4374
4372
4375
<li><p> Return "<code> StrictOrLess</code> ".
4373
4376
</ol>
@@ -6432,7 +6435,7 @@ optional boolean <var>forceNewConnection</var> (default false), run these steps:
6432
6435
<li><p> Set <var> response</var> 's <a for=response>body</a> to a new <a for=/>body</a> whose
6433
6436
<a for=body>stream</a> is <var> stream</var> .
6434
6437
6435
- <li><p tracking-vector> If <var> includeCredentials</var> is true, the user agent should
6438
+ <li><p tracking-vector> If <var> includeCredentials</var> is true, then the user agent should
6436
6439
<a>parse and store response `<code>Set-Cookie</code>` headers</a> given <var> request</var> and
6437
6440
<var> response</var> .
6438
6441
0 commit comments