Skip to content
Permalink
Browse files

[giow] (2) Make appcache no longer check for the MIME type.

Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=14701

git-svn-id: http://svn.whatwg.org/webapps@6823 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information...
Hixie committed Nov 11, 2011
1 parent 9f0410a commit 854c7d289af128df85bee46bdd66d7b276229b55
Showing with 31 additions and 20 deletions.
  1. +10 −6 complete.html
  2. +10 −6 index
  3. +11 −8 source
request.</p> <!-- http-origin privacy sensitive, though it doesn't
matter, since this can never be cross-origin -->

<p>If the resource is labeled with the <a href=#mime-type>MIME type</a>
<code><a href=#text/cache-manifest>text/cache-manifest</a></code>, either with no parameters or
with a single parameter with the name "<code title="">charset</code>" whose value is an <a href=#ascii-case-insensitive>ASCII
case-insensitive</a> match for the string "<code title="">utf-8</code>", parse <var title="">manifest</var>
according to the <a href=#parse-a-manifest title="parse a manifest">rules for parsing
manifests</a>, obtaining a list of <a href=#concept-appcache-explicit title=concept-appcache-explicit>explicit entries</a>, <a href=#concept-appcache-fallback title=concept-appcache-fallback>fallback entries</a> and the
<p>Parse <var title="">manifest</var> according to the <a href=#parse-a-manifest title="parse a manifest">rules for parsing manifests</a>,
obtaining a list of <a href=#concept-appcache-explicit title=concept-appcache-explicit>explicit entries</a>, <a href=#concept-appcache-fallback title=concept-appcache-fallback>fallback entries</a> and the
<a href=#concept-appcache-fallback-ns title=concept-appcache-fallback-ns>fallback
namespaces</a> that map to them, entries for the <a href=#concept-appcache-onlinewhitelist title=concept-appcache-onlinewhitelist>online whitelist</a>,
and a value for the <a href=#concept-appcache-onlinewhitelist-wildcard title=concept-appcache-onlinewhitelist-wildcard>online whitelist
wildcard flag</a>.</p>

<p class=note>The <a href=#mime-type>MIME type</a> of the resource is
ignored &mdash; it is assumed to be
<code><a href=#text/cache-manifest>text/cache-manifest</a></code>. In the future, if new manifest
formats are supported, the different types will probably be
distinguished on the basis of the file signatures (for the current
format, that is the "<code title="">CACHE&nbsp;MANIFEST</code>"
string at the top of the file).</p>

</li>

<li>
16 index
request.</p> <!-- http-origin privacy sensitive, though it doesn't
matter, since this can never be cross-origin -->

<p>If the resource is labeled with the <a href=#mime-type>MIME type</a>
<code><a href=#text/cache-manifest>text/cache-manifest</a></code>, either with no parameters or
with a single parameter with the name "<code title="">charset</code>" whose value is an <a href=#ascii-case-insensitive>ASCII
case-insensitive</a> match for the string "<code title="">utf-8</code>", parse <var title="">manifest</var>
according to the <a href=#parse-a-manifest title="parse a manifest">rules for parsing
manifests</a>, obtaining a list of <a href=#concept-appcache-explicit title=concept-appcache-explicit>explicit entries</a>, <a href=#concept-appcache-fallback title=concept-appcache-fallback>fallback entries</a> and the
<p>Parse <var title="">manifest</var> according to the <a href=#parse-a-manifest title="parse a manifest">rules for parsing manifests</a>,
obtaining a list of <a href=#concept-appcache-explicit title=concept-appcache-explicit>explicit entries</a>, <a href=#concept-appcache-fallback title=concept-appcache-fallback>fallback entries</a> and the
<a href=#concept-appcache-fallback-ns title=concept-appcache-fallback-ns>fallback
namespaces</a> that map to them, entries for the <a href=#concept-appcache-onlinewhitelist title=concept-appcache-onlinewhitelist>online whitelist</a>,
and a value for the <a href=#concept-appcache-onlinewhitelist-wildcard title=concept-appcache-onlinewhitelist-wildcard>online whitelist
wildcard flag</a>.</p>

<p class=note>The <a href=#mime-type>MIME type</a> of the resource is
ignored &mdash; it is assumed to be
<code><a href=#text/cache-manifest>text/cache-manifest</a></code>. In the future, if new manifest
formats are supported, the different types will probably be
distinguished on the basis of the file signatures (for the current
format, that is the "<code title="">CACHE&nbsp;MANIFEST</code>"
string at the top of the file).</p>

</li>

<li>
19 source
request.</p> <!-- http-origin privacy sensitive, though it doesn't
matter, since this can never be cross-origin -->

<p>If the resource is labeled with the <span>MIME type</span>
<code>text/cache-manifest</code>, either with no parameters or
with a single parameter with the name "<code
title="">charset</code>" whose value is an <span>ASCII
case-insensitive</span> match for the string "<code
title="">utf-8</code>", parse <var title="">manifest</var>
according to the <span title="parse a manifest">rules for parsing
manifests</span>, obtaining a list of <span
<p>Parse <var title="">manifest</var> according to the <span
title="parse a manifest">rules for parsing manifests</span>,
obtaining a list of <span
title="concept-appcache-explicit">explicit entries</span>, <span
title="concept-appcache-fallback">fallback entries</span> and the
<span title="concept-appcache-fallback-ns">fallback
title="concept-appcache-onlinewhitelist-wildcard">online whitelist
wildcard flag</span>.</p>

<p class="note">The <span>MIME type</span> of the resource is
ignored &mdash; it is assumed to be
<code>text/cache-manifest</code>. In the future, if new manifest
formats are supported, the different types will probably be
distinguished on the basis of the file signatures (for the current
format, that is the "<code title="">CACHE&nbsp;MANIFEST</code>"
string at the top of the file).</p>

</li>

<li>

0 comments on commit 854c7d2

Please sign in to comment.
You can’t perform that action at this time.