Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions fetch.bs
Original file line number Diff line number Diff line change
Expand Up @@ -4306,6 +4306,14 @@ X-Content-Type-Options = "nosniff" ; case-insensitive

<li><p>Let <var>destination</var> be <var>request</var>'s <a for=request>destination</a>.

<div class="example" id="example-nosniff-strict">
<p>The <code>X-Content-Type-Options</code> header requires a strict MIME type match. For
example, if a server returns a script with <code>X-Content-Type-Options</code> set to
"<code>nosniff</code>" but the <code>Content-Type</code> header is <code>text/plain</code> or
missing entirely, the user agent will block the response.
</div>


<li><p>If <var>destination</var> is <a for=request/destination>script-like</a> and
<var>mimeType</var> is failure or is not a <a>JavaScript MIME type</a>, then return <b>blocked</b>.

Expand Down Expand Up @@ -10208,6 +10216,7 @@ done only by navigations). The <a>fetch controller</a> is also used to
<h2 id=acknowledgments class=no-num>Acknowledgments</h2>

<p>Thanks to
Sneha Lata
Adam Barth,
Adam Lavin,
Alan Jeffrey,
Expand Down