gecko/dom/tests/mochitest/ajax/offline/changing1Sec.sjs

10 lines
240 B
JavaScript

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());
}