1 2 3 4
function handleRequest(request, response) { response.setStatusLine(request.httpVersion, 301, "Moved Permanently"); response.setHeader("Location", "empty.html#"); }