title: Redirect to different page url in Node.js (Not in express or other frameworks)
body: <p>I want to redirect user from one page to another page in Node.js (plain node.js)</p>
  
  <p>Real life scenario: Afer signup (example.com/sigup), after successful signup I want to redirect users to login page(example.com/login).</p>
  
  <pre><code>if (signUpSuccessful(request, response)) {    
      // I want to redirect to "/login" using request / response parameters.
  }
  </code></pre>