<?xml version="1.0" encoding="UTF-8"?>
<test id="cache/header/expires/2" class="A" scope="cache" testtype="application" type="manual" source="rfc2616#14.21" device="both">
  <assertion>When an entry contains an Expires header with a date value that is not stored in
 RFC1123 format then the entry is treated as stale.
</assertion>
  <specnote>Provide two URL-identical links to a dynamically generated page.
The page displays the current time (at time of generation). 
User compares the times. If same: page has been cached, if not same: page has not been cached.
Please see the Test Strategy note at the beginning of the section.</specnote>
  <results>
    <result>
      <name>submit</name>
      <value>yes</value>
    </result>
  </results>
  <method>
    <![CDATA[<card newcontext="true" id="main">
<p>
 header/expires/2 <br/>
 
 1. Follow this&nbsp;<a href="<cachemethod1>">link</a>&nbsp;<br/>
 2. Now follow this&nbsp;<a href="<cachemethod1>">link</a>&nbsp;<br/>

</p>
<p mode="wrap">Were times DIFFERENT?
<br />
<yesno>
</p>
</card>]]>
  </method>
  <cachemethods>
    <cachemethod id="1">
      <method>
        <![CDATA[<card id="card1">
<p>
  Note the time, then go Back <br/>
  <currenttime> <br/>

 <do type="prev" label="Back" >
   <prev/>
 </do>
</p>
</card>
]]>
      </method>
      <header>
        <name>Date</name>
        <value>&lt;currenttime&gt;</value>
      </header>
      <header>
        <name>Expires</name>
        <value>&lt;baddate&gt;</value>
      </header>
    </cachemethod>
  </cachemethods>
</test>

