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

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