Skip to content

Commit b44e352

Browse files
authored
Editorial: update the references to the HTTP RFCs
All the ABNF moved over to HTTP Semantics, and the one remaining reference to HTTP-1.1 didn't seem specific to that version, so I removed the HTTP-1.1 reference.
1 parent fe4647d commit b44e352

File tree

1 file changed

+9
-15
lines changed

1 file changed

+9
-15
lines changed

mimesniff.bs

Lines changed: 9 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,8 @@ Markup Shorthands: css off
1414
"FTP": {
1515
"aliasOf": "rfc0959"
1616
},
17-
"HTTP-1.1": {
18-
"aliasOf": "rfc7230"
19-
},
2017
"HTTP-SEMANTICS": {
21-
"aliasOf": "rfc7231"
18+
"aliasOf": "rfc9110"
2219
},
2320
"KEYWORDS": {
2421
"aliasOf": "rfc2119"
@@ -36,14 +33,11 @@ Markup Shorthands: css off
3633
</pre>
3734

3835
<pre class=anchors>
39-
spec: HTTP-1.1; urlPrefix: https://tools.ietf.org/html/rfc7230
40-
type: dfn
41-
text: token; url: #section-3.2.6
42-
text: quoted-string; url: #section-3.2.6
43-
44-
spec: HTTP-SEMANTICS; urlPrefix: https://tools.ietf.org/html/rfc7231
36+
spec: HTTP-SEMANTICS; urlPrefix: https://www.rfc-editor.org/rfc/rfc9110
4537
type: dfn
46-
text: media-type; url: #section-3.1.1.1
38+
text: media-type; url: #name-media-type
39+
text: quoted-string; url: #name-quoted-strings
40+
text: token; url: #name-tokens
4741
</pre>
4842

4943
<pre class=link-defaults>
@@ -132,14 +126,14 @@ spec:html;
132126
U+0026 (&amp;), U+0027 ('), U+002A (*), U+002B (+), U+002D (-), U+002E (.), U+005E (^), U+005F (_),
133127
U+0060 (`), U+007C (|), U+007E (~), or an <a>ASCII alphanumeric</a>.</p>
134128

135-
<p class=note>This matches the value space of the <a spec="HTTP-1.1">token</a> token production. [[HTTP-1.1]]
129+
<p class=note>This matches the value space of the <a>token</a> token production. [[HTTP-SEMANTICS]]
136130

137131
<p>An <dfn>HTTP quoted-string token code point</dfn> is U+0009 TAB, a <a>code point</a> in the range
138132
U+0020 SPACE to U+007E (~), inclusive, or a <a>code point</a> in the range U+0080 through
139133
U+00FF (ÿ), inclusive.
140134

141-
<p class=note>This matches the effective value space of the <a spec="HTTP-1.1">quoted-string</a> token
142-
production. By definition it is a superset of the <a>HTTP token code points</a>. [[HTTP-1.1]]
135+
<p class=note>This matches the effective value space of the <a>quoted-string</a> token
136+
production. By definition it is a superset of the <a>HTTP token code points</a>. [[HTTP-SEMANTICS]]
143137

144138
<p>
145139
A <dfn>binary data byte</dfn> is a <a>byte</a> in the range 0x00 to
@@ -655,7 +649,7 @@ ends in "<code>+json</code>" or whose <a for="MIME type">essence</a> is
655649
</ol>
656650
</ol>
657651

658-
[[!HTTP-1.1]]
652+
[[!HTTP-SEMANTICS]]
659653

660654
<li>
661655
If the <a>resource</a> is retrieved directly from the file system,

0 commit comments

Comments
 (0)