Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

websec Ticket #20: Clarify that the user agent may opt out of sniffin…

…g for any given resource.
  • Loading branch information...
commit 75c2afdefe39b01a00f133a4125d58bd46f88d79 1 parent 58640c8
@GPHemsley GPHemsley authored
Showing with 26 additions and 8 deletions.
  1. +13 −4 Overview.html
  2. +13 −4 Overview.src.html
View
17 Overview.html
@@ -406,7 +406,16 @@ <h2 id="handling-a-resource"><span class="secno">4 </span>Handling a resource</h
<li>
A <dfn id="no-sniff-flag">no-sniff flag</dfn>, which defaults to set if the user agent does
- not wish to perform sniffing and unset otherwise.
+ not wish to perform sniffing on the <a href="#resource">resource</a> and unset
+ otherwise.
+
+ <p class="note">
+ The user agent can choose to use outside information, such as previous
+ experience with a site, to determine whether to opt out of sniffing for a
+ particular <a href="#resource">resource</a>. The user agent can also choose to opt
+ out of sniffing for all <a href="#resource" title="resource">resources</a>. However,
+ opting out of sniffing does not exempt the user agent from using the
+ <a href="#media-type-sniffing-algorithm">media type sniffing algorithm</a>.
</ul>
@@ -2381,9 +2390,9 @@ <h3 id="sniffing-a-mislabeled-feed"><span class="secno">8.2 </span>Sniffing a mi
</ol>
<p class="note">
- It might be more efficient for a User Agent to implement the <a href="#rules-for-distinguishing-if-a-resource-is-a-feed-or-html">rules for
- distinguishing if a resource is a feed or HTML</a> in parallel with its
- algorithm for detecting the character encoding of an HTML document.
+ It might be more efficient for the user agent to implement the <a href="#rules-for-distinguishing-if-a-resource-is-a-feed-or-html">rules
+ for distinguishing if a resource is a feed or HTML</a> in parallel with
+ its algorithm for detecting the character encoding of an HTML document.
View
17 Overview.src.html
@@ -377,7 +377,16 @@ <h2 class=no-num>Table of contents</h2>
<li>
A <dfn>no-sniff flag</dfn>, which defaults to set if the user agent does
- not wish to perform sniffing and unset otherwise.
+ not wish to perform sniffing on the <span>resource</span> and unset
+ otherwise.
+
+ <p class=note>
+ The user agent can choose to use outside information, such as previous
+ experience with a site, to determine whether to opt out of sniffing for a
+ particular <span>resource</span>. The user agent can also choose to opt
+ out of sniffing for all <span title=resource>resources</span>. However,
+ opting out of sniffing does not exempt the user agent from using the
+ <span>media type sniffing algorithm</span>.
</ul>
@@ -2352,9 +2361,9 @@ <h2 class=no-num>Table of contents</h2>
</ol>
<p class=note>
- It might be more efficient for a User Agent to implement the <span>rules for
- distinguishing if a resource is a feed or HTML</span> in parallel with its
- algorithm for detecting the character encoding of an HTML document.
+ It might be more efficient for the user agent to implement the <span>rules
+ for distinguishing if a resource is a feed or HTML</span> in parallel with
+ its algorithm for detecting the character encoding of an HTML document.
Please sign in to comment.
Something went wrong with that request. Please try again.