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

9 lines
242 B
Plaintext
Raw Normal View History

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