title: expressjs: get requested url
body: <p>I want to get the url the client has requested out of the request.</p>
  
  <p>Currently I use:</p>
  
  <pre><code>var requestedUrl = req.protocol + '://' + req.host + ':3000' + req.url;
  </code></pre>
  
  <p>This isn't really nice at all. It also leaves out url fragments I require (#/something).</p>
  
  <p>Is there a way I can get the complete url? Maybe out of the header?</p>
  
  <p>Regards</p>