title: How do I get the redirected url from the nodejs request module?
body: <p>I'm trying to follow through on a url that redirects me to another page using the nodejs <a href="https://github.com/mikeal/request" rel="noreferrer">request module</a>.</p>
  
  <p>Combing through the docs I could not find anything that allows me to retrieve the url after the redirect.</p>
  
  <p>My code is as follows:</p>
  
  <pre><code>var request = require("request"),
      options = {
        uri: 'http://www.someredirect.com/somepage.asp',
        timeout: 2000,
        followAllRedirects: true
      };
  
  request( options, function(error, response, body) {
  
      console.log( response );
  
  });
  </code></pre>