Skip to content
Permalink
Browse files

[giow] (2) Define http-equiv='set-cookie'

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

git-svn-id: http://svn.whatwg.org/webapps@5486 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Sep 25, 2010
1 parent e5c5407 commit 11dc85b019916a6994b5163ae0f20160a6ecdddf
Showing with 89 additions and 12 deletions.
  1. +27 −4 complete.html
  2. +27 −4 index
  3. +35 −4 source
attribute is an <a href=#enumerated-attribute>enumerated attribute</a>. The following
table lists the keywords defined for this attribute. The states
given in the first cell of the rows with keywords give the states to
which those keywords map. <!--<span class="impl">Some of the
keywords are non-conforming, as noted in the last
column.</span>--></p>
which those keywords map. <span class=impl>Some of the keywords
are non-conforming, as noted in the last column.</span></p>

<!-- things that are neither conforming nor do anything are commented out -->
<!-- if you add something non-conforming, uncomment out the last sentence above -->
<table id=table-http-equiv><thead><tr><th>State
<th>Keyword
<th>Notes
<tr><td><a href=#attr-meta-http-equiv-refresh title=attr-meta-http-equiv-refresh>Refresh</a>
<td><code title="">refresh</code>
<td>
<tr class=impl><td><a href=#attr-meta-http-equiv-set-cookie title=attr-meta-http-equiv-set-cookie>Cookie setter</a>
<td><code title="">Set-Cookie</code>
<td>Non-conforming
</table><!--
DATA: According to Henri's validator stats, here are common
non-conforming values used by people who validate (sample of 400

</dd>

<dt class=impl><dfn id=attr-meta-http-equiv-set-cookie title=attr-meta-http-equiv-set-cookie>Cookie setter</dfn> (<code title="">http-equiv="set-cookie"</code>)

<dd class=impl>

<p>This pragma sets an HTTP cookie. <a href=#refsCOOKIES>[COOKIES]</a></p>

<p>It is non-conforming. Real HTTP headers should be used instead.</p>

<ol><li><p>If the <code><a href=#meta>meta</a></code> element has no <code title=attr-meta-content><a href=#attr-meta-content>content</a></code> attribute, or if that
attribute's value is the empty string, then abort these
steps.</li>

<li><p><a href=#obtain-the-storage-mutex>Obtain the storage mutex</a>.</li>

<li><p>Act as if <span title="receives a
set-cookie-string">receiving a set-cookie-string</span> for
<a href="#the-document's-address">the document's address</a> via a "non-HTTP" API,
consisting of the value of the element's <code title=attr-meta-content><a href=#attr-meta-content>content</a></code> attribute encoded as
UTF-8. <a href=#refsCOOKIES>[COOKIES]</a> <a href=#refsRFC3629>[RFC3629]</a></li>

</ol></dd>

</dl><p>There must not be more than one <code><a href=#meta>meta</a></code> element with
any particular state in the document at a time.</p>

31 index
attribute is an <a href=#enumerated-attribute>enumerated attribute</a>. The following
table lists the keywords defined for this attribute. The states
given in the first cell of the rows with keywords give the states to
which those keywords map. <!--<span class="impl">Some of the
keywords are non-conforming, as noted in the last
column.</span>--></p>
which those keywords map. <span class=impl>Some of the keywords
are non-conforming, as noted in the last column.</span></p>

<!-- things that are neither conforming nor do anything are commented out -->
<!-- if you add something non-conforming, uncomment out the last sentence above -->
<table id=table-http-equiv><thead><tr><th>State
<th>Keyword
<th>Notes
<tr><td><a href=#attr-meta-http-equiv-refresh title=attr-meta-http-equiv-refresh>Refresh</a>
<td><code title="">refresh</code>
<td>
<tr class=impl><td><a href=#attr-meta-http-equiv-set-cookie title=attr-meta-http-equiv-set-cookie>Cookie setter</a>
<td><code title="">Set-Cookie</code>
<td>Non-conforming
</table><!--
DATA: According to Henri's validator stats, here are common
non-conforming values used by people who validate (sample of 400

</dd>

<dt class=impl><dfn id=attr-meta-http-equiv-set-cookie title=attr-meta-http-equiv-set-cookie>Cookie setter</dfn> (<code title="">http-equiv="set-cookie"</code>)

<dd class=impl>

<p>This pragma sets an HTTP cookie. <a href=#refsCOOKIES>[COOKIES]</a></p>

<p>It is non-conforming. Real HTTP headers should be used instead.</p>

<ol><li><p>If the <code><a href=#meta>meta</a></code> element has no <code title=attr-meta-content><a href=#attr-meta-content>content</a></code> attribute, or if that
attribute's value is the empty string, then abort these
steps.</li>

<li><p><a href=#obtain-the-storage-mutex>Obtain the storage mutex</a>.</li>

<li><p>Act as if <span title="receives a
set-cookie-string">receiving a set-cookie-string</span> for
<a href="#the-document's-address">the document's address</a> via a "non-HTTP" API,
consisting of the value of the element's <code title=attr-meta-content><a href=#attr-meta-content>content</a></code> attribute encoded as
UTF-8. <a href=#refsCOOKIES>[COOKIES]</a> <a href=#refsRFC3629>[RFC3629]</a></li>

</ol></dd>

</dl><p>There must not be more than one <code><a href=#meta>meta</a></code> element with
any particular state in the document at a time.</p>

39 source
attribute is an <span>enumerated attribute</span>. The following
table lists the keywords defined for this attribute. The states
given in the first cell of the rows with keywords give the states to
which those keywords map. <!--<span class="impl">Some of the
keywords are non-conforming, as noted in the last
column.</span>--></p>
which those keywords map. <span class="impl">Some of the keywords
are non-conforming, as noted in the last column.</span></p>

<!-- things that are neither conforming nor do anything are commented out -->
<!-- if you add something non-conforming, uncomment out the last sentence above -->
<table id="table-http-equiv">
<thead>
<tr>
<td><span title="attr-meta-http-equiv-refresh">Refresh</span>
<td><code title="">refresh</code>
<td>
<tr class="impl">
<td><span title="attr-meta-http-equiv-set-cookie">Cookie setter</span>
<td><code title="">Set-Cookie</code>
<td>Non-conforming
</table>

<!--

</dd>

<dt class="impl"><dfn title="attr-meta-http-equiv-set-cookie">Cookie setter</dfn> (<code title="">http-equiv="set-cookie"</code>)

<dd class="impl">

<p>This pragma sets an HTTP cookie. <a href="#refsCOOKIES">[COOKIES]</a></p>

<p>It is non-conforming. Real HTTP headers should be used instead.</p>

<ol>

<li><p>If the <code>meta</code> element has no <code
title="attr-meta-content">content</code> attribute, or if that
attribute's value is the empty string, then abort these
steps.</p></li>

<li><p><span>Obtain the storage mutex</span>.</p></li>

<li><p>Act as if <span title="receives a
set-cookie-string">receiving a set-cookie-string</span> for
<span>the document's address</span> via a "non-HTTP" API,
consisting of the value of the element's <code
title="attr-meta-content">content</code> attribute encoded as
UTF-8. <a href="#refsCOOKIES">[COOKIES]</a> <a
href="#refsRFC3629">[RFC3629]</a></p></li>

</ol>

</dd>

</dl>

<p>There must not be more than one <code>meta</code> element with

0 comments on commit 11dc85b

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