<?xml version="1.0" encoding="UTF-8"?>
<test id="cache/header/control/revalidation/3" class="A" scope="cache" testtype="application" type="manual" source="rfc2616#14.9.4" device="both">
  <assertion>When a cache fails to revalidate a stale response containing a must-revalidate
directive, it does not serve the response to the requester.
</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.</specnote>
  <results>
    <result>
      <name>submit</name>
      <value>yes</value>
    </result>
  </results>
  <method>
    <![CDATA[<card newcontext="true" id="main">
 <p>
 header/control/revalidation/3 <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 the 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>Cache-Control</name>
        <value>must-revalidate</value>
      </header>
      <header>
        <name>Expires</name>
        <value>&lt;olddate&gt;</value>
      </header>
    </cachemethod>
  </cachemethods>
</test>

