static sendRedirect()

in server.js [74:77]


  static sendRedirect(response, location) {
    response.writeHead(301, { 'Content-Type': 'text/plain', 'Content-Length': 0, location, ...userHeaders });
    response.end();
  }