mirror of
https://github.com/classilla/tenfourfox.git
synced 2024-09-11 02:56:06 +00:00
11 lines
267 B
JavaScript
11 lines
267 B
JavaScript
function handleRequest(request, response)
|
|
{
|
|
response.setStatusLine(request.httpVersion, 404, "Not found");
|
|
|
|
// Any valid JS.
|
|
if (request.queryString == 'js') {
|
|
response.setHeader("Content-Type", "text/javascript", false);
|
|
response.write('4 + 4');
|
|
}
|
|
}
|