Skip to content

Commit 873a42e

Browse files
committed
Editorial: update Mixed Content and SFV references
1 parent 4202f5c commit 873a42e

File tree

1 file changed

+18
-22
lines changed

1 file changed

+18
-22
lines changed

fetch.bs

Lines changed: 18 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ url:https://tools.ietf.org/html/rfc7230#section-3.2;text:field-content;type:dfn;
1717
url:https://tools.ietf.org/html/rfc7230#section-3.2;text:field-value;type:dfn;spec:http
1818
url:https://tools.ietf.org/html/rfc7230#section-3.1.2;text:reason-phrase;type:dfn;spec:http
1919
url:https://tools.ietf.org/html/rfc7234#section-1.2.1;text:delta-seconds;type:dfn;spec:http-caching
20-
url:https://tools.ietf.org/html/draft-ietf-httpbis-header-structure#section-2;text:structured field value;type:dfn;spec:header-structure
21-
url:https://tools.ietf.org/html/draft-ietf-httpbis-header-structure#section-4.1;text:serializing structured fields;type:dfn;spec:header-structure
22-
url:https://tools.ietf.org/html/draft-ietf-httpbis-header-structure#section-4.2;text:parsing structured fields;type:dfn;spec:header-structure
20+
url:https://tools.ietf.org/html/rfc8941#section-2;text:structured field value;type:dfn;spec:rfc8941
21+
url:https://tools.ietf.org/html/rfc8941#section-4.1;text:serializing structured fields;type:dfn;spec:rfc8941
22+
url:https://tools.ietf.org/html/rfc8941#section-4.2;text:parsing structured fields;type:dfn;spec:rfc8941
2323
</pre>
2424

2525
<pre class=biblio>
@@ -84,12 +84,6 @@ url:https://tools.ietf.org/html/draft-ietf-httpbis-header-structure#section-4.2;
8484
"OCSP": {
8585
"aliasOf": "RFC2560"
8686
},
87-
"HEADER-STRUCTURE": {
88-
"authors": ["Mark Nottingham", "Poul-Henning Kamp"],
89-
"href": "https://tools.ietf.org/html/draft-ietf-httpbis-header-structure",
90-
"publisher": "IETF",
91-
"title": "Structured Field Values for HTTP"
92-
},
9387
"HTTP3": {
9488
"authors": ["M. Bishop, Ed."],
9589
"href": "https://tools.ietf.org/html/draft-ietf-quic-http",
@@ -433,7 +427,7 @@ serialize in interesting and efficient ways. For the moment, Fetch only supports
433427
<a for=header>values</a> as <a for=/>byte sequences</a>, which means that these objects can be set
434428
in <a for=/>header lists</a> only via serialization, and they can be obtained from
435429
<a for=/>header lists</a> only by parsing. In the future the fact that they are objects might be
436-
preserved end-to-end. [[!HEADER-STRUCTURE]]
430+
preserved end-to-end. [[!RFC8941]]
437431

438432
<hr>
439433

@@ -1322,7 +1316,7 @@ the empty string,
13221316

13231317
<!-- Dependencies:
13241318
* CSP: https://w3c.github.io/webappsec-csp/#effective-directive-for-a-request
1325-
* Mixed Content: https://w3c.github.io/webappsec-mixed-content/#should-block-fetch
1319+
* Mixed Content
13261320
* Preload: https://w3c.github.io/preload/#processing
13271321
* SRI
13281322
* HTML -->
@@ -3460,10 +3454,9 @@ steps:
34603454
[[!UPGRADE]]
34613455

34623456
<li><p>If <a lt="block bad port">should <var>request</var> be blocked due to a bad port</a>,
3463-
<a href=https://w3c.github.io/webappsec-mixed-content/#should-block-fetch>should fetching <var>request</var> be blocked as mixed content</a>,
3464-
or
3457+
<a lt="should fetching request be blocked as mixed content?">should fetching <var>request</var> be blocked as mixed content</a>, or
34653458
<a lt="should request be blocked by Content Security Policy?">should <var>request</var> be blocked by Content Security Policy</a>
3466-
returns <b>blocked</b>, then set <var>response</var> to a <a>network error</a>. [[!MIX]]
3459+
returns <b>blocked</b>, then set <var>response</var> to a <a>network error</a>.
34673460

34683461
<li><p>If <var>request</var>'s <a for=request>referrer policy</a> is the empty string and
34693462
<var>request</var>'s <a for=request>client</a> is non-null, then set <var>request</var>'s
@@ -3661,18 +3654,21 @@ steps:
36613654
<li><p><a lt="Set response's CSP list">Set <var>internalResponse</var>'s CSP list</a>.
36623655

36633656
<li>
3664-
<p>If <var>response</var> is not a <a>network error</a> and any
3665-
of the following algorithms returns <b>blocked</b>, then set <var>response</var> and
3666-
<var>internalResponse</var> to a <a>network error</a>:
3657+
<p>If <var>response</var> is not a <a>network error</a> and any of the following returns
3658+
<b>blocked</b>
36673659

36683660
<ul class=brief>
3669-
<li><a href=https://w3c.github.io/webappsec-mixed-content/#should-block-response>should <var>internalResponse</var> to <var>request</var> be blocked as mixed content</a>
3670-
[[!MIX]]
3671-
<li><a lt="Should response to request be blocked by Content Security Policy?">should <var>internalResponse</var> to <var>request</var> be blocked by Content Security Policy</a>
3672-
<li><a lt="should response to request be blocked due to mime type">should <var>internalResponse</var> to <var>request</var> be blocked due to its MIME type</a>
3673-
<li><a lt="should response to request be blocked due to nosniff">should <var>internalResponse</var> to <var>request</var> be blocked due to nosniff</a>
3661+
<li><p><a lt="should response to request be blocked as mixed content?">should <var>internalResponse</var> to <var>request</var> be blocked as mixed content</a>
3662+
3663+
<li><p><a lt="Should response to request be blocked by Content Security Policy?">should <var>internalResponse</var> to <var>request</var> be blocked by Content Security Policy</a>
3664+
3665+
<li><p><a lt="should response to request be blocked due to mime type">should <var>internalResponse</var> to <var>request</var> be blocked due to its MIME type</a>
3666+
3667+
<li><p><a lt="should response to request be blocked due to nosniff">should <var>internalResponse</var> to <var>request</var> be blocked due to nosniff</a>
36743668
</ul>
36753669

3670+
<p>then set <var>response</var> and <var>internalResponse</var> to a <a>network error</a>.
3671+
36763672
<li>
36773673
<p>If <var>response</var>'s <a for=response>type</a> is "<code>opaque</code>",
36783674
<var>internalResponse</var>'s <a for=response>status</a> is 206, <var>internalResponse</var>'s

0 commit comments

Comments
 (0)