mirror of
https://github.com/classilla/tenfourfox.git
synced 2024-11-04 10:05:51 +00:00
9 lines
305 B
JavaScript
9 lines
305 B
JavaScript
function handleRequest(request, response)
|
|
{
|
|
response.setHeader("Set-Cookie", "cookie="+ request.host + "~" + Math.random());
|
|
response.setHeader("Content-Type", "text/plain", false);
|
|
response.setHeader("Cache-Control", "no-cache", false);
|
|
|
|
response.setStatusLine(request.httpVersion, 200, "OK");
|
|
}
|