Source code

Revision control

Line Code
1 2 3 4
function handleRequest(request, response) {
  response.setStatusLine(request.httpVersion, 302, "Moved Permanently");
  response.setHeader("Location", "http://example");
}