You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Textual formats also improve <ahref="https://www.w3.org/TR/ethical-web-principles/#transparent">transparency</a>.</p>
1334
1334
<p>Favor readability over compactness.
1335
1335
File size can be optimized by tooling,
1336
-
and tends to become a lower priority over time.
1337
-
When file size is a significantly higher priority,
1336
+
and tends to become a lower priority over time.
1337
+
When file size is a significantly higher priority,
1338
1338
perhaps a textual format is not appropriate.</p>
1339
-
<divclass="example" id="example-db958612"><aclass="self-link" href="#example-db958612"></a> SVG path syntax was designed to be compact,
1339
+
<divclass="example" id="example-db958612"><aclass="self-link" href="#example-db958612"></a> SVG path syntax was designed to be compact,
1340
1340
with single-letter commands and unlabeled series of coordinates after them.
1341
-
At the time, file size was a primary concern,
1341
+
At the time, file size was a primary concern,
1342
1342
but while the importance of size efficiency has declined over time,
1343
1343
the cost to human readability has remained the same. </div>
1344
1344
<p>People who are presented with a textual format
1345
1345
should be able to use a text editor
1346
1346
to easily produce or modify content.
1347
1347
People who edit text will introduce a range of errors, but
1348
1348
could struggle to identify and fix those errors.</p>
1349
-
<p>People expect some amount of flexibility in terms of how their edits are processed. <ahref="#avoid-ambiguity">Clearly defining</a> syntactic flexibility—such as in white space, quoting, or delimiters—could ensure that content is both easy to edit and produces consistent results.</p>
1349
+
<p>People expect some amount of flexibility in terms of how their edits are processed. <ahref="#avoid-ambiguity">Clearly defining</a> syntactic flexibility—such as in whitespace, quoting, or delimiters—could ensure that content is both easy to edit and produces consistent results.</p>
1350
1350
<divclass="example" id="example-92a0fa51"><aclass="self-link" href="#example-92a0fa51"></a> The JSON format is an example of a format that appears to be flexible,
1351
1351
but it lacks many of these basic usability amenities.
due to security implications, and instead recommend enforcing strict MIME types for newer formats.</p>
3252
3252
<p>New MIME types should have a specification and should be registered with the Internet Assigned Numbers Authority (IANA).</p>
3253
3253
<h3class="heading settled" data-level="10.5" id="using-http"><spanclass="secno">10.5. </span><spanclass="content">Consult documentation on best practices when using HTTP</span><aclass="self-link" href="#using-http"></a></h3>
3254
-
<p>When using <ahref="https://datatracker.ietf.org/doc/html/rfc9110">HTTP</a>,
3255
-
consult <ahref="https://datatracker.ietf.org/doc/html/rfc9205">RFC 9205</a> for advice on correct usage of the protocol.</p>
3254
+
<p>When using <adata-link-type="biblio" href="#biblio-rfc9110" title="HTTP Semantics">HTTP</a>,
3255
+
consult <adata-biblio-display="inline" data-link-type="biblio" href="https://httpwg.org/specs/rfc9205.html"><cite>Building Protocols with HTTP</cite></a> for advice on correct usage of the protocol.</p>
3256
3256
<p><ahref="https://fetch.spec.whatwg.org/">Fetch</a> is the way that
3257
3257
user agents most often interact with servers.
3258
3258
Fetch defines the CORS protocol and necessary security checks.
Appropriate use of methods, header fields, content types, caching, and other HTTP features
3262
3262
might need to be defined.</p>
3263
3263
<p>Recommendations on best practices for HTTP
3264
-
can be found in <ahref="https://datatracker.ietf.org/doc/html/rfc9205">RFC 9205</a> and <ahref="https://datatracker.ietf.org/doc/search?name=HTTP&sort=&rfcs=on&by=group&group=httpbis">other HTTP RFCs</a>.
3265
-
RFC 9205 includes advice on <ahref="https://datatracker.ietf.org/doc/html/rfc9205#section-4.3">specifying client behavior</a>, <ahref="https://datatracker.ietf.org/doc/html/rfc9205#section-4.7">defining header fields</a>, <ahref="https://datatracker.ietf.org/doc/html/rfc9205#section-4.8">use of media types</a>, <ahref="https://datatracker.ietf.org/doc/html/rfc9205#section-4.16">evolving specifications</a>, and
3264
+
can be found in <adata-biblio-display="inline" data-link-type="biblio" href="https://httpwg.org/specs/rfc9205.html"><cite>Building Protocols with HTTP</cite></a> and <ahref="https://datatracker.ietf.org/doc/search?name=HTTP&sort=&rfcs=on&by=group&group=httpbis">other HTTP RFCs</a>.
3265
+
RFC 9205 includes advice on <ahref="https://httpwg.org/specs/rfc9205.html#section-4.3">specifying client behavior</a>, <ahref="https://httpwg.org/specs/rfc9205.html#section-4.7">defining header fields</a>, <ahref="https://httpwg.org/specs/rfc9205.html#section-4.8">use of media types</a>, <ahref="https://httpwg.org/specs/rfc9205.html#section-4.16">evolving specifications</a>, and
3266
3266
other advice on how to get the most out of HTTP.</p>
3267
3267
<h3class="heading settled" data-level="10.6" id="extend-manifests"><spanclass="secno">10.6. </span><spanclass="content">Extend existing manifest files rather than creating new ones</span><aclass="self-link" href="#extend-manifests"></a></h3>
<dd>S. Bradner. <ahref="https://datatracker.ietf.org/doc/html/rfc2119"><cite>Key words for use in RFCs to Indicate Requirement Levels</cite></a>. March 1997. Best Current Practice. URL: <ahref="https://datatracker.ietf.org/doc/html/rfc2119">https://datatracker.ietf.org/doc/html/rfc2119</a>
4443
+
<dtid="biblio-rfc9205">[RFC9205]
4444
+
<dd>M. Nottingham. <ahref="https://httpwg.org/specs/rfc9205.html"><cite>Building Protocols with HTTP</cite></a>. June 2022. Best Current Practice. URL: <ahref="https://httpwg.org/specs/rfc9205.html">https://httpwg.org/specs/rfc9205.html</a>
4443
4445
<dtid="biblio-url">[URL]
4444
4446
<dd>Anne van Kesteren. <ahref="https://url.spec.whatwg.org/"><cite>URL Standard</cite></a>. Living Standard. URL: <ahref="https://url.spec.whatwg.org/">https://url.spec.whatwg.org/</a>
<dd>M. Nottingham. <ahref="https://www.rfc-editor.org/rfc/rfc8890"><cite>The Internet is for End Users</cite></a>. August 2020. Informational. URL: <ahref="https://www.rfc-editor.org/rfc/rfc8890">https://www.rfc-editor.org/rfc/rfc8890</a>
4508
+
<dtid="biblio-rfc9110">[RFC9110]
4509
+
<dd>R. Fielding, Ed.; M. Nottingham, Ed.; J. Reschke, Ed.. <ahref="https://httpwg.org/specs/rfc9110.html"><cite>HTTP Semantics</cite></a>. June 2022. Internet Standard. URL: <ahref="https://httpwg.org/specs/rfc9110.html">https://httpwg.org/specs/rfc9110.html</a>
0 commit comments