title: How does req.headers.authorization get set
body: <p>I was browsing through some authentication code in nodejs and restify written by a fellow programmer when I came across the following lines</p>
  
  <pre><code>if (req.header.authorization) {
   // do soemthing 
  } else {
  var cookieValues = req.cookies["demo"]
  }
  </code></pre>
  
  <p>What got me confused is that nowhere in this code did I see any line that is setting the "header.authorization" property of the req object or response object.</p>
  
  <p>what am I missing here ?</p>