summaryrefslogtreecommitdiffstats
path: root/dom/tests/mochitest/ajax/offline/changing1Hour.sjs
blob: 2a103596507a505a366dea7236975f5e723fdbd9 (plain)
1
2
3
4
5
6
7
8
function handleRequest(request, response)
{
  response.setStatusLine(request.httpVersion, 200, "Ok");
  response.setHeader("Content-Type", "text/plain");
  response.setHeader("Cache-Control", "max-age=3600");

  response.write(Date.now());
}